XSS in Smub Wpconsent – Cookie Banner & Consent For Privacy Compliance (Gdpr / Ccpa Eu Notice)
CVE-2026-97640
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/e92b4189-bd07-4d29-8fe1-e9de6…
- plugins.trac.wordpress.org/browser/wpconsent-cookies-banner-privacy-suite/tags/…
- plugins.trac.wordpress.org/browser/wpconsent-cookies-banner-privacy-suite/tags/…
- plugins.trac.wordpress.org/browser/wpconsent-cookies-banner-privacy-suite/tags/…
- plugins.trac.wordpress.org/browser/wpconsent-cookies-banner-privacy-suite/tags/…
- plugins.trac.wordpress.org/browser/wpconsent-cookies-banner-privacy-suite/tags/…
- plugins.trac.wordpress.org/changeset
- plugins.trac.wordpress.org/changeset/3734401/wpconsent-cookies-banner-privacy-s…
Frequently asked questions
- What is CVE-2026-97640?
- CVE-2026-97640 is a high-severity vulnerability in Smub Wpconsent – Cookie Banner & Consent For Privacy Compliance (Gdpr / Ccpa Eu Notice), classified under Cross-site Scripting. CVSS score: 7.2/10. Published 2026-10-16.
- How severe is CVE-2026-97640?
- High severity. CVSS v3 base score is 7.2 out of 10.