{"id":"CVE-2025-3491","aliases":["EUVD-2025-12493","GHSA-cfcq-fg8w-gfj9"],"status":"published","title":"Add custom page template \u003c= 2.0.1 - Authenticated (Administrator+) PHP Code Injection to Remote Code Execution","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.","severity":{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00772,"percentile":0.55996,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-94"],"published":"2025-04-26T05:34:23Z","modified":"2026-06-17T09:20:03Z","products":[{"vendor":"kiranpatil353","product":"add custom page template"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/9c2d97c4-b166-4d1f-8042-d0362e650c62?source=cve"},{"url":"https://plugins.svn.wordpress.org/add-custom-page-template/trunk/index.php"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-3491"},{"url":"https://github.com/advisories/GHSA-cfcq-fg8w-gfj9"}],"sources":{"cve":[{"id":"CVE-2025-3491","title":"Add custom page template \u003c= 2.0.1 - Authenticated (Administrator+) PHP Code Injection to Remote Code Execution","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.","status":"published","published":"2025-04-26T05:34:23.629Z","modified":"2026-04-08T17:11:24.134Z","cvss":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:32:39.039362Z"}],"euvd":[{"id":"EUVD-2025-12493","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.","status":"published","published":"2025-04-26T05:34:23Z","modified":"2026-04-08T17:11:24Z","cvss":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T19:24:47.565697Z"}],"ghsa":[{"id":"GHSA-cfcq-fg8w-gfj9","title":"The Add custom page template plugin for WordPress is vulnerable to PHP Code Injection leading to...","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.","status":"published","published":"2025-04-26T06:32:46Z","modified":"2025-04-26T06:32:51Z","cvss":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:02:02.261137Z"}],"nvd":[{"id":"CVE-2025-3491","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.","status":"published","published":"2025-04-26T06:15:16.213Z","modified":"2026-06-17T09:20:03.093Z","cvss":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:11:02.570368Z"}]}}
