CVE-2025-3491
HIGH
7.2
CVSS 3.1
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.
Affected WordPress components
-
add-custom-page-template Plugin · add-custom-page-templateUp to and including 2.0.1View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- kiranpatil353 Add custom page template — Up to and including 2.0.1
References
- plugins.svn.wordpress.org https://plugins.svn.wordpress.org/add-custom-page-template/trunk/index.php
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/9c2d97c4-b166-4d1f-8042-d0362e650c62?source=cve
- nvd.nist.gov Official NVD record