CVE-2026-1540: CWE-94 Improper Control of Generation of Code ('Code Injection') in Spam Protect for Contact Form 7
CVE-2026-1540 is a high-severity vulnerability in the Spam Protect for Contact Form 7 WordPress plugin versions before 1. 2. 10. It allows an attacker with editor-level access to achieve remote code execution by exploiting improper control over code generation through logging to a PHP file using a crafted header. The vulnerability is classified as CWE-94, indicating code injection issues. No official patch or vendor advisory information is provided in the data. The CVSS score is 7. 2, reflecting high impact on confidentiality, integrity, and availability.
AI Analysis
Technical Summary
The Spam Protect for Contact Form 7 WordPress plugin before version 1.2.10 contains a code injection vulnerability (CWE-94) that arises from allowing logging to a PHP file. An attacker who has editor privileges can exploit this by sending a specially crafted header, enabling remote code execution on the affected system. This vulnerability has a CVSS 3.1 base score of 7.2, indicating it is exploitable over the network with low attack complexity but requires high privileges (editor access). No patch or official remediation details are currently available in the provided data.
Potential Impact
Successful exploitation of this vulnerability allows an attacker with editor access to execute arbitrary code remotely on the affected WordPress site. This can lead to full compromise of the web server, including unauthorized access, data theft, or further attacks. The vulnerability impacts confidentiality, integrity, and availability of the system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict editor-level access to trusted users only and monitor for suspicious activity related to the plugin. Consider disabling or removing the plugin if possible to reduce risk.
CVE-2026-1540: CWE-94 Improper Control of Generation of Code ('Code Injection') in Spam Protect for Contact Form 7
Description
CVE-2026-1540 is a high-severity vulnerability in the Spam Protect for Contact Form 7 WordPress plugin versions before 1. 2. 10. It allows an attacker with editor-level access to achieve remote code execution by exploiting improper control over code generation through logging to a PHP file using a crafted header. The vulnerability is classified as CWE-94, indicating code injection issues. No official patch or vendor advisory information is provided in the data. The CVSS score is 7. 2, reflecting high impact on confidentiality, integrity, and availability.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Spam Protect for Contact Form 7 WordPress plugin before version 1.2.10 contains a code injection vulnerability (CWE-94) that arises from allowing logging to a PHP file. An attacker who has editor privileges can exploit this by sending a specially crafted header, enabling remote code execution on the affected system. This vulnerability has a CVSS 3.1 base score of 7.2, indicating it is exploitable over the network with low attack complexity but requires high privileges (editor access). No patch or official remediation details are currently available in the provided data.
Potential Impact
Successful exploitation of this vulnerability allows an attacker with editor access to execute arbitrary code remotely on the affected WordPress site. This can lead to full compromise of the web server, including unauthorized access, data theft, or further attacks. The vulnerability impacts confidentiality, integrity, and availability of the system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict editor-level access to trusted users only and monitor for suspicious activity related to the plugin. Consider disabling or removing the plugin if possible to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- WPScan
- Date Reserved
- 2026-01-28T14:37:11.670Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69ce74d2e6bfc5ba1ddd16cd
Added to database: 4/2/2026, 1:53:22 PM
Last enriched: 4/10/2026, 12:11:51 AM
Last updated: 5/20/2026, 9:42:04 PM
Views: 111
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.