CVE-2025-3491
WordPress vulnerability analysis and mitigation

Overview

The Add custom page template plugin for WordPress contains a PHP Code Injection vulnerability (CVE-2025-3491) that affects all versions up to and including 2.0.1. The vulnerability exists in the 'acptvalidatesetting' function due to insufficient sanitization of the 'template_name' parameter. This security flaw was discovered and disclosed on April 26, 2025 (NVD, Wiz).

Technical details

The vulnerability is classified as CWE-94 (Improper Control of Generation of Code) and has been assigned a CVSS 3.1 base score of 7.2 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. The security flaw specifically resides in the 'acptvalidatesetting' function where insufficient sanitization of the 'template_name' parameter allows for code injection (NVD, Wiz).

Impact

If successfully exploited, this vulnerability allows authenticated attackers with administrative access to execute arbitrary code on the affected server, potentially leading to complete system compromise. The high CVSS score reflects the severe potential impact on confidentiality, integrity, and availability of the affected system (Wiz).

Mitigation and workarounds

Users of the Add custom page template plugin should upgrade to a version newer than 2.0.1 once available. In the meantime, it is recommended to restrict administrator access to trusted users only (Wiz).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14030MEDIUM6.4
  • ai-feeds
NoYesDec 12, 2025
CVE-2025-12965MEDIUM6.4
  • magical-posts-display
NoYesDec 12, 2025
CVE-2025-14442MEDIUM5.3
  • secure-copy-content-protection
NoYesDec 12, 2025
CVE-2025-14065MEDIUM5.3
  • simple-bike-rental
NoYesDec 12, 2025
CVE-2025-14159MEDIUM4.3
  • secure-copy-content-protection
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management