CVE-2026-97640
7.2HighPublished Oct 16, 2026 · NVD status: Deferred · AI triage by gemini-3.8-flash
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- Limited impact
- Weakness
- CWE-79
What an attacker gets
Unauthenticated attackers can execute arbitrary JavaScript in users' browsers by submitting paired malicious WordPress comments. Successful exploitation requires the plugin's Script Blocking feature to be active.
Root cause
The Simple HTML DOM Parser's deterministic noise-key restoration mechanism fails to properly sanitize comment HTML, enabling mutation XSS (mXSS).
Affected versions
WPConsent – Cookie Banner & Cookie Consent for Privacy Compliance plugin for WordPress up to, and including, 1.1.9
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Fix & remediation
Upgrade the WPConsent plugin to a version newer than 1.1.9. If patching immediately is not possible, disable the Script Blocking feature in the plugin settings.
$ wp plugin update wpconsent-cookies-banner-privacy-suiteAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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 <code> element and one placing the deterministic ___noise___ restoration key inside an allowed <abbr title=""> attribute — with the key offset confirmable via an unauthenticated wpconsent_debug=1 request.
References
- https://plugins.trac.wordpress.org/browser/wpconsent-cookies-banner-privacy-suite/tags/1.1.9/includes/class-wpconsent-cookie-blocking.php#L107
- https://plugins.trac.wordpress.org/browser/wpconsent-cookies-banner-privacy-suite/tags/1.1.9/includes/class-wpconsent-cookie-blocking.php#L222
- https://plugins.trac.wordpress.org/browser/wpconsent-cookies-banner-privacy-suite/tags/1.1.9/lib/simplehtmldom/class-wpconsent-simple-html-dom.php#L2135
- https://plugins.trac.wordpress.org/browser/wpconsent-cookies-banner-privacy-suite/tags/1.1.9/lib/simplehtmldom/class-wpconsent-simple-html-dom.php#L2236
- https://plugins.trac.wordpress.org/browser/wpconsent-cookies-banner-privacy-suite/tags/1.1.9/lib/simplehtmldom/class-wpconsent-simple-html-dom.php#L466
- https://plugins.trac.wordpress.org/changeset/3734401/wpconsent-cookies-banner-privacy-suite/trunk/lib/simplehtmldom/class-wpconsent-simple-html-dom.php
- https://plugins.trac.wordpress.org/changeset?reponame=&new=3734409%40wpconsent-cookies-banner-privacy-suite&old=3676065%40wpconsent-cookies-banner-privacy-suite
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e92b4189-bd07-4d29-8fe1-e9de60107e70?source=cve
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1031547.7HighAuthenticated attackers can perform server-side request forgery to scan internal networks or access sensitive data. This requires an active account with access to the API endpoint.
- CVE-2026-1420988.8HighAuthenticated editors can escalate privileges to administrator. They need a valid editor account to inject malicious settings into the user configuration file.
- CVE-2026-1420979.1CriticalUnauthenticated attackers can leak sensitive headers like Authorization and Cookies or crash the server. They only need to send a specially crafted HTTP request to the server.
- CVE-2026-1420969.1CriticalUnauthenticated attackers can leak sensitive heap memory or crash worker processes. They only need network access to the Redis server interface.
- CVE-2026-1420957.5HighRemote unauthenticated attackers can crash server workers by triggering a memory leak. They do this by sending crafted HTTP/2 HEADERS frames with repeated :path headers.
- CVE-2026-1420927.8HighAttackers can execute arbitrary code on your system by providing a malicious .lvm.pkl sidecar file. A user must open a crafted LabVIEW measurement folder containing this file for the exploit to trigger.