Vulnerability Description
The Add custom page template plugin for WordPress is vulnerable to PHP Code Injection leading to Remote Code Execution in all versions up to, and including, 2.0.1 via the 'acpt_validate_setting' function. This is due to insufficient sanitization of the 'template_name' parameter. This makes it possible for authenticated attackers, with Administrator-level access and above, to execute code on the server.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://plugins.svn.wordpress.org/add-custom-page-template/trunk/index.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/9c2d97c4-b166-4d1f-804
FAQ
What is CVE-2025-3491?
CVE-2025-3491 is a vulnerability with a CVSS score of 7.2 (HIGH). The Add custom page template plugin for WordPress is vulnerable to PHP Code Injection leading to Remote Code Execution in all versions up to, and including, 2.0.1 via the 'acpt_validate_setting' funct...
How severe is CVE-2025-3491?
CVE-2025-3491 has been rated HIGH with a CVSS base score of 7.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-3491?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.