CVE-2026-97640

WPConsent <= 1.1.9 - Unauthenticated Stored Cross-Site Scripting via Comment Content via Simple HTML DOM Parser Noise-Key Restoration (mXSS)

Published Oct 16, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
Description
The WPConsent – Cookie Banner & Cookie Consent for Privacy Compliance (GDPR / CCPA / EU Compliance Cookie Notice) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Content via Simple HTML DOM Parser Noise-Key Restoration (mXSS) in all versions up to, and including, 1.1.9 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. This requires the Script Blocking feature to be enabled, and the exploit chain depends on an attacker submitting two coordinated comments — one embedding event-handler syntax inside an allowed &lt;code&gt; element and one placing the deterministic ___noise___ restoration key inside an allowed &lt;abbr title=""&gt; attribute — with the key offset confirmable via an unauthenticated wpconsent_debug=1 request.

Analysis

AI-generated

Technical impact

WPConsent’s Simple HTML DOM Parser fails to properly sanitize comment content. An unauthenticated user can submit two coordinated comments—one embedding an event‑handler inside an allowed <code> element and another placing a deterministic noise‑restoration key inside an <abbr title=> attribute—while the Script Blocking feature is enabled. This allows the attacker to inject arbitrary JavaScript that is stored and served to every visitor. The resulting stored cross‑site scripting can compromise user sessions, steal credentials, or modify the site’s content, representing a serious integrity threat.

Affected Systems

All installations of the WPConsent – Cookie Banner & Cookie Consent for Privacy Compliance plugin for WordPress, including every version from its inception through 1.1.9, are affected. WordPress sites that use this plugin and have the Script Blocking option turned on are vulnerable.

Risk and Exploitability

The CVSS base score of 7.2 denotes a high impact vulnerability. The EPSS score of < 1% indicates a very low probability of exploitation, and the issue is not listed in CISA’s KEV catalog; the attack can be performed without authentication by submitting the crafted comments. The requirement for the Script Blocking feature does limit the attack surface, but many sites enable it to meet EU/US compliance, making exploitation plausible for motivated attackers who can target vulnerable comment forms.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade WPConsent to the latest released version, which removes the insecure HTML parsing logic and implements proper input validation and output escaping.
  • If an immediate upgrade is not feasible, disable the plugin’s Script Blocking feature or block unauthenticated comment posting to break the two‑step injection chain.
  • Apply a web application firewall rule that filters out event‑handler payloads in <code> tags and sanitizes <abbr title=> attributes, or configure the site to accept only approved comment content.

Generated by OpenCVE AI on October 16, 2026 at 15:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description The WPConsent – Cookie Banner & Cookie Consent for Privacy Compliance (GDPR / CCPA / EU Compliance Cookie Notice) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Content via Simple HTML DOM Parser Noise-Key Restoration (mXSS) in all versions up to, and including, 1.1.9 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. This requires the Script Blocking feature to be enabled, and the exploit chain depends on an attacker submitting two coordinated comments — one embedding event-handler syntax inside an allowed &lt;code&gt; element and one placing the deterministic ___noise___ restoration key inside an allowed &lt;abbr title=""&gt; attribute — with the key offset confirmable via an unauthenticated wpconsent_debug=1 request.
Title WPConsent <= 1.1.9 - Unauthenticated Stored Cross-Site Scripting via Comment Content via Simple HTML DOM Parser Noise-Key Restoration (mXSS)
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'}

Subscriptions

No data.

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Oct 16, 2026, 2:39 PM
Reserved
Sep 24, 2026, 5:36 PM
Status
Deferred
Published
Oct 16, 2026, 7:17 AM
Modified
Oct 16, 2026, 3:17 PM