{"id":"CVE-2025-3491","published":"2025-04-26T05:34:23Z","modified":"2026-04-08T17:11:24Z","title":"Add custom page template <= 2.0.1 - Authenticated (Administrator+) PHP Code Injection to Remote Code Execution","vendor":"kiranpatil353","product":"Add custom page template","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00772,"percentile":0.56587,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/9c2d97c4-b166-4d1f-8042-d0362e650c62?source=cve","tags":[]},{"url":"https://plugins.svn.wordpress.org/add-custom-page-template/trunk/index.php","tags":[]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":11.32},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"kiranpatil353","affectedVersions":[{"vendor":"kiranpatil353","product":"Add custom page template","versions":["<= 2.0.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-28T13:38:55.279797Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-12493","exploited":false,"provenance":"source"}}