CVE-2026-1540: Spam Protect for Contact Form 7 (WordPress plugin) · Code Injection
Affects Spam Protect for Contact Form 7 (WordPress plugin)Source CVE Database V5
Not known to be exploited · CVSS 7.2 High : upgrade to 1.2.10 soon.
Data as of 26 Oct 2026, 12:29 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.2.10
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 2 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade Spam Protect for Contact Form 7 (WordPress plugin) to 1.2.10.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Spam Protect for Contact Form 7 | Affected
| Fixed in
|
AI-suggested
If you cannot patch yet, 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.
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. The CVSS score is 7.2, reflecting high impact on confidentiality, integrity, and availability.