7.2high
Add custom page template <= 2.0.1 - Authenticated (Administrator+) PHP Code Injection to Remote Code Execution
- Severity
- 7.2high CVSS:3.1 by Wordfence
- Exploit likelihood
- 1.49% (higher than 74% of CVEs)
- Published
- Last changed
- Assigned by
- Wordfence
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
| Product or package | Versions | Reported by |
|---|---|---|
| kiranpatil353 Add custom page template | up to 2.0.1 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-3491 changed 2026-04-08 | CVE Terms of Use |
| NVD | CVE-2025-3491 changed 2026-06-17 | Public domain |