Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker gains editor-level WordPress access
-
DeliveryCraft malicious header in plugin settings
-
ExploitPlugin logs header to PHP file
-
ExecutionPHP file executes attacker code
-
ImpactRemote code execution achieved
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires Spam Protect for Contact Form 7 WordPress plugin before version 1.2.10 with PHP file logging enabled. Attacker must have WordPress Editor role or higher privileges to craft malicious headers and achieve RCE. No victim interaction needed. |
| Impact | Despite the absence of CVSS and EPSS scores in available data, this vulnerability represents high real-world risk due to multiple critical factors: publicly available exploit code exists, the attack requires only editor-level WordPress access (a role commonly delegated to content creators and contributors), and successful exploitation grants full remote code execution on the server. The attack vector is network-based and requires no special complexity once editor credentials are obtained. While full site compromise requires existing authenticated access, the ease of exploitation and availability of POC code makes this a priority remediation target. The RCE impact is absolute-complete server compromise-despite the authentication requirement. Organizations should treat this as critical based on POC availability and straightforward exploitation mechanics. |
| Exploit ScenarioDerived | A disgruntled employee with WordPress editor credentials submits a contact form to the site while including PHP code in the User-Agent header (such as '<?php system($_GET["cmd"]); ?>'). The vulnerable plugin logs this header unfiltered to a PHP file in the web-accessible directory. The attacker then directly accesses or triggers inclusion of the log file, causing the embedded PHP code to execute, granting them a web shell for arbitrary command execution and complete server compromise. Public exploit code simplifies this attack, enabling rapid exploitation across multiple affected WordPress installations. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 02, 2026
Remote code execution in Spam Protect for Contact Form 7 WordPress plugin before version 1.2.10 allows authenticated users with editor-level privileges to achieve arbitrary code execution by crafting malicious headers that are logged to a PHP file. The vulnerability is publicly exploitable with proof-of-concept code available, making it a critical risk for WordPress installations using affected plugin versions.
RemediationAI
Immediately upgrade Spam Protect for Contact Form 7 to version 1.2.10 or later, which addresses the insecure logging functionality. Site administrators should access the WordPress plugin management interface, locate Spam Protect for Contact Form 7, and update to the latest available version. Until patching is complete, restrict editor-level WordPress access to trusted users only and review user account permissions to remove unnecessary elevated privileges. Additionally, audit recent server access logs and PHP files in the plugin directory for any suspicious entries that may indicate exploitation attempts. The security advisory and patch details are available at https://wpscan.com/vulnerability/ad00d1bb-ea8d-44a3-9064-6412804d9e95/.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Spam Protect for Contact Form 7 plugin implements insecure logging functionality that writes HTTP headers directly to a PHP file without proper sanitization or escaping. By exploiting PHP's dynamic code execution capabilities, an attacker with editor-level WordPress access can inject PHP code through HTTP headers (such as User-Agent or custom headers) that gets written to the log file. When the log file is subsequently accessed or included in the WordPress execution flow, the injected PHP code executes in the context of the web server. This is a classic example of unsafe file logging (CWE-434: Unrestricted Upload of File with Dangerous Type) combined with code injection vulnerabilities. The vulnerability specifically affects the Spam Protect for Contact Form 7 plugin across all versions prior to 1.2.10.
Know when Spam Protect For Contact Form 7 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
The Spam Protect for Contact Form 7 WordPress plugin before 1.2.10 allows logging to a PHP file, which could allow an attacker with editor access to achieve Remote Code Execution by using a crafted header
Executive ViewAI
Spam Protect for Contact Form 7 WordPress plugin versions before 1.2.10 contain a remote code execution vulnerability that allows authenticated users with editor-level permissions to execute arbitrary code on affected websites. Organizations running this plugin face immediate risk of website compromise, data theft, and malware injection, particularly if editor accounts lack proper access controls or have been compromised.
Apply vendor patch (Spam Protect for Contact Form 7 version 1.2.10 or later). Interim: Disable the plugin entirely until patching is complete; restrict editor-level user access to minimum required personnel; monitor WordPress audit logs for unauthorized admin activity or code execution attempts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-18128
GHSA-76vr-6c8c-grfj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB