{"id":"CVE-2025-3491","aliases":["CVE-2025-3491"],"related":[],"kind":"vulnerability","state":"published","title":"Add custom page template <= 2.0.1 - Authenticated (Administrator+) PHP Code Injection to Remote Code Execution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"El complemento Add custom page template para WordPress es vulnerable a la inyección de código PHP, lo que provoca la ejecución remota de código en todas las versiones hasta la 2.0.1 incluida, mediante la función \"acpt_validate_setting\". Esto se debe a una limpieza insuficiente del parámetro \"template_name\". Esto permite que atacantes autenticados, con acceso de administrador o superior, ejecuten código en el servidor.","source":"nvd"}],"published":"2025-04-26T05:34:23.629Z","modified":"2026-06-17T09:20:03.093Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.0.1","status":"affected"}],"vendor":"kiranpatil353","product":"Add custom page template","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/9c2d97c4-b166-4d1f-8042-d0362e650c62?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.svn.wordpress.org/add-custom-page-template/trunk/index.php","tags":[],"sources":["cvelist","nvd"]}],"credits":["ch4r0n"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-28T13:38:55.279Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-3491","url":"https://www.cve.org/CVERecord?id=CVE-2025-3491","licence":"CVE Terms of Use","modified":"2026-04-08T17:11:24.134Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-3491","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-3491","licence":"Public domain","modified":"2026-06-17T09:20:03.093Z"}],"updatedAt":"2026-11-25T22:58:56.940Z","epss":{"score":0.01487,"percentile":0.7435,"date":"2026-11-30T12:00:22.000Z"}}