Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-3491: CWE-94 Improper Control of Generation of Code ('Code Injection') in kiranpatil353 Add custom page template

0
High
VulnerabilityCVE-2025-3491cvecve-2025-3491cwe-94
Published: Sat Apr 26 2025 (04/26/2025, 05:34:23 UTC)
Source: CVE
Vendor/Project: kiranpatil353
Product: Add custom page template

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 17:22:47 UTC

Technical Analysis

CVE-2025-3491 is a high-severity vulnerability in the Add custom page template WordPress plugin (versions up to 2.0.1) caused by improper control of code generation (CWE-94). The vulnerability arises from insufficient sanitization of the 'template_name' parameter in the 'acpt_validate_setting' function, enabling authenticated administrators to perform PHP code injection and achieve remote code execution on the server. The CVSS 3.1 vector indicates network attack vector, low attack complexity, high privileges required, no user interaction, unchanged scope, and high impact on confidentiality, integrity, and availability.

Potential Impact

Successful exploitation allows an authenticated administrator to execute arbitrary PHP code on the web server hosting the vulnerable plugin. This can lead to full compromise of the affected system, including data theft, service disruption, or further lateral movement within the environment. The vulnerability impacts confidentiality, integrity, and availability at a high level.

Mitigation Recommendations

No official patch or fix is currently available for this vulnerability. Users should restrict administrator access to trusted personnel only and consider disabling or removing the Add custom page template plugin until a vendor-provided fix is released. Monitor the vendor's advisory channels for updates regarding remediation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-04-10T00:05:32.738Z
Cisa Enriched
true
Cvss Version
3.1
State
PUBLISHED

Threat ID: 682d983dc4522896dcbef798

Added to database: 5/21/2025, 9:09:17 AM

Last enriched: 4/9/2026, 5:22:47 PM

Last updated: 5/8/2026, 6:32:36 PM

Views: 74

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses