---
id: CVE-2026-97640
title: >-
  WPConsent <= 1.1.9 - Unauthenticated Stored Cross-Site Scripting via Comment
  Content via Simple HTML DOM Parser Noise-Key Restoration (mXSS)
summary: >-
  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 …
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'
cvssSource: cna
cwe:
  - CWE-79
vendor: smub
product: >-
  WPConsent – Cookie Banner & Cookie Consent for Privacy Compliance (GDPR / CCPA
  / EU Compliance Cookie Notice)
affected:
  - >-
    wpconsent_cookie_banner_cookie_consent_for_privacy_compliance_gdpr_ccpa_eu_compliance_cookie_notice
    <= 1.1.9
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-16T14:33:50.450736Z'
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T14:39:02.103Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-97640'
references:
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/e92b4189-bd07-4d29-8fe1-e9de60107e70?source=cve
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpconsent-cookies-banner-privacy-suite/tags/1.1.9/lib/simplehtmldom/class-wpconsent-simple-html-dom.php#L466
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpconsent-cookies-banner-privacy-suite/tags/1.1.9/lib/simplehtmldom/class-wpconsent-simple-html-dom.php#L2135
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpconsent-cookies-banner-privacy-suite/tags/1.1.9/lib/simplehtmldom/class-wpconsent-simple-html-dom.php#L2236
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpconsent-cookies-banner-privacy-suite/tags/1.1.9/includes/class-wpconsent-cookie-blocking.php#L107
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpconsent-cookies-banner-privacy-suite/tags/1.1.9/includes/class-wpconsent-cookie-blocking.php#L222
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&new=3734409%40wpconsent-cookies-banner-privacy-suite&old=3676065%40wpconsent-cookies-banner-privacy-suite
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3734401/wpconsent-cookies-banner-privacy-suite/trunk/lib/simplehtmldom/class-wpconsent-simple-html-dom.php
tags:
  - cve.org
epss: 0.00243
epssPercentile: 0.14388
ingestedAt: '2026-10-16T07:01:11.474Z'
---

## Overview

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.

## Affected

- `wpconsent_cookie_banner_cookie_consent_for_privacy_compliance_gdpr_ccpa_eu_compliance_cookie_notice <= 1.1.9`

## Remediation

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