CVE-2026-96752

Zero Spam for WordPress <= 5.7.10 - Unauthenticated Stored Cross-Site Scripting via Nested POST Array Keys via Contact Form 7 Integration

Published Sep 25, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
Description
The Zero Spam for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Nested POST Array Keys via Contact Form 7 Integration in all versions up to, and including, 5.7.10 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The payload is delivered by submitting a Contact Form 7 request with a nested POST array key containing arbitrary HTML or JavaScript — PHP parses the field name into a nested array key, which is stored verbatim in the zerospam_log.submission_data column when Zero Spam flags the submission as spam due to the absence of the zerospam_david_walsh_key field.

Analysis

AI-generated

Technical impact

The Zero Spam for WordPress plugin allows an unauthenticated attacker to inject arbitrary HTML or JavaScript into website pages. When a Contact Form 7 request is submitted with a specially crafted nested POST array key, the plugin stores the raw field name in the zerospam_log.submission_data column because not all fields are sanitized or escaped. This stored data is rendered in the admin interface or on public pages, causing the injected script to execute in any browser that loads the affected page, leading to potential defacement, data theft, or session hijacking. The flaw is a classic stored Cross‑Site Scripting vulnerability identified as CWE‑79.

Affected Systems

Zero Spam for WordPress plugin version 5.7.10 and earlier. All WordPress sites that have installed this plugin and use the Contact Form 7 integration are affected unless the plugin version is newer than 5.7.10.

Risk and Exploitability

The CVSS score of 7.2 indicates a high severity of the vulnerability. Attackers can exploit it without authentication by submitting a crafted request via any exposed Contact Form 7 form. The stored data remains unchanged in the database, and when a user accesses a page that displays this data, the embedded script will execute in the browser, allowing the attacker to run arbitrary code in that context. The vulnerability is not listed in the CISA KEV catalog, and no EPSS score is available, so the exploitation probability cannot be quantified.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Zero Spam for WordPress to a version newer than 5.7.10 as soon as a fix is released
  • If an update is not immediately available, disable the Contact Form 7 integration within the Zero Spam plugin to stop the vulnerable data processing
  • Remove or sanitize any existing entries in the zerospam_log.submission_data column that contain malicious or unexpected nested keys

Generated by OpenCVE AI on September 25, 2026 at 09:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Bmarshall511
Bmarshall511 zero Spam For Wordpress
Wordpress
Wordpress wordpress
Vendors & Products Bmarshall511
Bmarshall511 zero Spam For Wordpress
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The Zero Spam for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Nested POST Array Keys via Contact Form 7 Integration in all versions up to, and including, 5.7.10 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The payload is delivered by submitting a Contact Form 7 request with a nested POST array key containing arbitrary HTML or JavaScript — PHP parses the field name into a nested array key, which is stored verbatim in the zerospam_log.submission_data column when Zero Spam flags the submission as spam due to the absence of the zerospam_david_walsh_key field.
Title Zero Spam for WordPress <= 5.7.10 - Unauthenticated Stored Cross-Site Scripting via Nested POST Array Keys via Contact Form 7 Integration
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Sep 25, 2026, 10:34 AM
Reserved
Sep 23, 2026, 3:55 PM
Status
Deferred
Published
Sep 25, 2026, 8:16 AM
Modified
Sep 25, 2026, 1:08 PM