Skip to content
OpenAdvisories
High · 7.2 CVE-2025-3491 EUVD-2025-12493GHSA-cfcq-fg8w-gfj9

Add custom page template <= 2.0.1 - Authenticated (Administrator+) PHP Code Injection to Remote Code Execution

Published Apr 26, 2025 · Updated Apr 8, 2026 · 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 products

VendorProductAffectedFixed
kiranpatil353 Add custom page template ≤ 2.0.1 —

References