---
id: CVE-2026-96752
title: >-
  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 a…
summary: >-
  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 a…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: bmarshall511
product: Zero Spam for WordPress
affected:
  - zero_spam_for_wordpress <= 5.7.10
published: '2026-09-25'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T13:08:08.163'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-96752'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/zero-spam/tags/5.7.10/core/class-utilities.php#L65
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/zero-spam/tags/5.7.10/includes/class-db.php#L442
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/zero-spam/tags/5.7.10/includes/templates/admin-modal-details.php#L200
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/zero-spam/tags/5.7.10/modules/contactform7/class-contactform7.php#L85
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&old=3709762%40zero-spam&new=3709762%40zero-spam
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/01540d78-ae46-4556-9a7f-3f8b8dbbcbd7?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-25T10:33:19.693456Z'
ingestedAt: '2026-09-25T08:01:56.748Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
