CVE-2025-3491
WordPress vulnerability analysis and mitigation

Overview

The Add custom page template plugin for WordPress contains a PHP Code Injection vulnerability (CVE-2025-3491) that affects all versions up to and including 2.0.1. The vulnerability exists in the 'acpt_validate_setting' function due to insufficient sanitization of the 'template_name' parameter. This security flaw was discovered and disclosed on April 26, 2025 (NVD, Wiz).

Technical details

The vulnerability is classified as CWE-94 (Improper Control of Generation of Code) and has been assigned a CVSS 3.1 base score of 7.2 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. The security flaw specifically resides in the 'acpt_validate_setting' function where insufficient sanitization of the 'template_name' parameter allows for code injection (NVD, Wiz).

Impact

If successfully exploited, this vulnerability allows authenticated attackers with administrative access to execute arbitrary code on the affected server, potentially leading to complete system compromise. The high CVSS score reflects the severe potential impact on confidentiality, integrity, and availability of the affected system (Wiz).

Exploitability

The vulnerability requires an authenticated user with Administrator-level privileges to exploit. While this requirement somewhat limits the potential attack surface, the low attack complexity (AC:L) indicates that once an attacker has the necessary privileges, the exploitation process is straightforward (NVD).

Mitigation and workarounds

Users of the Add custom page template plugin should upgrade to a version newer than 2.0.1 once available. In the meantime, it is recommended to restrict administrator access to trusted users only (Wiz).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-77115HIGH7.1
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-77116MEDIUM4.3
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-14853MEDIUM4.3
  • woocommerce-bookings
NoYesAug 23, 2026
CVE-2026-77003LOW2.7
  • content-mask
NoYesAug 23, 2026
CVE-2026-13598NONEN/A
  • restrictmate
NoYesAug 23, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management