CVE-2025-3491 HIGH

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

Vendor Kiranpatil353
Product Add custom page template
Weakness CWE-94 · Code injection
Published April 26, 2025
Last update April 8, 2026

CVSS base score

7.2/10
Attack vector Network
Attack complexity Low
Privileges required High
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

A code injection vulnerability exists in Add custom page template versions up to 2.0.1. An authenticated administrator can inject and execute arbitrary PHP code through the plugin's template handling functionality. This allows complete control over the site, including reading sensitive data, modifying content, and disrupting service. Sites using this plugin should update immediately.

What an attacker can do

03Attacker Capabilities

Run arbitrary PHP code on the site with full administrative privileges.

Potential impact on your site

04Site Impact

A compromised admin account can execute any code, steal data, modify content, or take the site offline.

Conditions required to exploit

05Prerequisites

Attacker must have administrator-level access to the WordPress site.

Key dates

06Disclosure timeline

April 26, 2025 CVE published
April 8, 2026 Record updated