CVE-2025-3491 Add custom page template <= 2.0.1 - Authenticated (Administrator+) PHP Code Injection to Remote Code Execution
HighCVSS 7.2
EPSS 0.77%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- PHPWordPress
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| kiranpatil353 Add custom page template | <= 2.0.1 | after 2.0.1 | Fixed |
| wordpress add-custom-page-template(WordPress) | <= 2.0.1 | after 2.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| kiranpatil353 Add custom page template | <= 2.0.1 | No fix listed |
| wordpress add-custom-page-template(WordPress) | <= 2.0.1 | No fix listed |
References
- www.wordfence.com
- plugins.svn.wordpress.org
- Wordfence Intelligence third-party-advisory
- www.cve.org