Remote Code Execution in Spam Protect for Contact Form 7 Plugin by WordPress
CVE-2026-1540

7.2HIGH

Key Information:

Vendor

WordPress

Vendor
CVE Published:
2 April 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

What is CVE-2026-1540?

The Spam Protect for Contact Form 7 WordPress plugin allows an unauthorized attacker with editor access to log specific information to a PHP file. This behavior can be exploited to execute arbitrary code on the server by crafting a malicious header. As such, it poses a security risk to websites utilizing this plugin, making it crucial for users to update to the latest version to mitigate potential exploitation.

Affected Version(s)

Spam Protect for Contact Form 7 0 < 1.2.10

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V3.1

Score:
7.2
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Chiao-Lin Yu (Steven Meow)
WPScan
.