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.
CVE ID: CVE-2025-3491
CVSS Base Severity: HIGH
CVSS Base Score: 7.2
CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Vendor: kiranpatil353
Product: Add custom page template
EPSS Score: 0.35% (probability of being exploited)
EPSS Percentile: 56.46% (scored less or equal to compared to others)
EPSS Date: 2025-05-25 (when was this score calculated)