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-2026-1540: CWE-94 Improper Control of Generation of Code ('Code Injection') in Spam Protect for Contact Form 7

0
High
VulnerabilityCVE-2026-1540cvecve-2026-1540cwe-94
Published: Thu Apr 02 2026 (04/02/2026, 06:00:10 UTC)
Source: CVE Database V5
Product: 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

AILast updated: 04/10/2026, 00:11:51 UTC

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.

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

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 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