Skip to main content

WPConsent EUVDEUVD-2026-102799

| CVE-2026-97640 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-10-16 Wordfence GHSA-4m2x-3wp6-xmxj
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit comment with event-handler in allowed <code> element
  2. Delivery
    Submit second comment with deterministic ___noise___ key in <abbr title>
  3. Exploit
    Confirm key offset via unauthenticated wpconsent_debug=1 request
  4. Execution
    Parser noise-key restoration reassembles stored mXSS payload
  5. Impact
    Script executes in browser when visitor loads page

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the plugin's optional Script Blocking feature to be enabled - it is NOT reachable against a default install with that feature off. The attacker must also be able to submit comments that get rendered (so sites with strict comment moderation, closed comments, or aggressive spam filtering reduce exposure), and must craft 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. The precise noise-key byte offset must be determined, which the attacker confirms via an unauthenticated wpconsent_debug=1 request. Although authentication is not required (PR:N), the payload only executes when a user subsequently loads the injected page, and the overall chain demands precise coordination and a non-default configuration - these factors limit realistic exploitation well below what the raw 7.2 score implies.

Impact

The input assigns CVSS 3.1 base 7.2 (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N), driven mainly by the unauthenticated network vector and the scope change inherent to XSS. However, the single strongest mitigating signal is buried in the description and conflicts with the AC:L rating: successful exploitation requires the optional Script Blocking feature to be enabled AND a precisely coordinated two-comment attack - one comment embedding event-handler syntax inside an allowed <code> element, a second placing the deterministic ___noise___ restoration key inside an <abbr title=""> attribute, with the byte offset confirmed via an unauthenticated wpconsent_debug=1 request. That is materially more complex than AC:L implies, so the real-world attack complexity is closer to HIGH. Similarly, although the vector states UI:N, the payload only fires 'whenever a user accesses an injected page,' i.e. a victim must view attacker-tainted content. No EPSS score, KEV listing, or POC was provided in the input, so exploitation likelihood cannot be quantified from probabilistic signals; there is no public exploit identified at time of analysis and no evidence of active exploitation. Net assessment: a legitimate unauthenticated stored/mXSS flaw worth patching, but a configuration-gated, multi-step chain rather than a trivially weaponizable high-risk issue - its practical priority is lower than the 7.2 suggests for any site not running the Script Blocking feature.

Exploit ScenarioDerived

An attacker targets a WordPress site running WPConsent ≤1.1.9 with the Script Blocking feature enabled and open comments. They post two coordinated comments - one hiding an event handler in a permitted <code> tag and one placing the deterministic ___noise___ key in an <abbr title> attribute - using an unauthenticated wpconsent_debug=1 request to confirm the key offset, so the HTML DOM parser's noise-key restoration reassembles the fragments into live script. When any visitor or administrator later views that page, the injected script executes in their browser. No public exploit code was identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 16, 2026

Stored cross-site scripting in WPConsent (Cookie Banner & Cookie Consent for Privacy Compliance) through 1.1.9 allows unauthenticated attackers to inject arbitrary web scripts into comment content that execute when a user views an injected page. Exploitation is constrained: it requires the optional Script Blocking feature to be enabled, the ability to submit comments that are rendered, and two coordinated comments that place event-handler syntax in an allowed code element and the deterministic ___noise___ restoration key in an allowed abbr title attribute, with the key offset confirmable via an unauthenticated wpconsent_debug=1 request. No public exploit identified at time of analysis, and the assessed vector is AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N, so the non-default configuration and precise coordination limit realistic exploitation below the raw 7.2 score.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed. The provided data does not name an exact fixed WPConsent release beyond affected through 1.1.9, but the referenced WordPress Trac changesets, especially https://plugins.trac.wordpress.org/changeset/3734401/wpconsent-cookies-banner-privacy-suite/trunk/lib/simplehtmldom/class-wpconsent-simple-html-dom.php and https://plugins.trac.wordpress.org/changeset?reponame=&new=3734409%40wpconsent-cookies-banner-privacy-suite&old=3676065%40wpconsent-cookies-banner-privacy-suite, point to an upstream fix in the Simple HTML DOM parser; check the WordPress plugin repository or vendor advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/e92b4189-bd07-4d29-8fe1-e9de60107e70?source=cve and update to the latest patched version once confirmed. If immediate upgrade is not possible, disable the optional Script Blocking feature because the vulnerability is not reachable when that feature is off, accepting loss of cookie script blocking functionality. Also close or strictly moderate comments, since the chain requires rendered comment submissions, and apply WAF or comment-filtering rules to reject ___noise___ restoration keys and event-handler attributes inside allowed code or abbr elements; these filters may cause false positives and do not replace patching. Restrict or disable the wpconsent_debug=1 endpoint if feasible, but do not rely on that alone because the deterministic key offset may be derived by other means.

Affected VersionsENISA

WPConsent – Cookie Banner & Cookie Consent for Privacy Compliance (GDPR / CCPA / EU Compliance Cookie Notice) 0 ≤1.1.9

Affected Packages

euvd wpconsent_cookie_banner_cookie_consent_for_privacy_compliance_gdpr_ccpa_eu_compliance_cookie_notice no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This is a stored cross-site scripting issue, CWE-79, in the WPConsent WordPress plugin, which implements cookie consent and an optional Script Blocking feature. The vulnerable path involves the bundled Simple HTML DOM Parser implementation in lib/simplehtmldom/class-wpconsent-simple-html-dom.php and cookie-blocking logic in includes/class-wpconsent-cookie-blocking.php, referenced at lines 466, 2135, and 2236 and lines 107 and 222 respectively. The parser uses deterministic ___noise___ restoration keys to protect parsed fragments; because restoration is predictable and input sanitization/output escaping are insufficient, comment content can be mutated (mXSS) so that event-handler syntax inside an allowed code element becomes executable when the page is rendered. The attacker must coordinate two comments and confirm the noise-key offset via wpconsent_debug=1. The affected CPE is cpe:2.3:a:smub:wpconsent_-_cookie_banner_&_cookie_consent_for_privacy_compliance_(gdpr_/_ccpa_/_eu_compliance_cookie_notice):*:*:*:*:*:*:*. The assessed CVSS 3.1 vector is AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N, reflecting a network-reachable, unauthenticated, non-default-configuration exploit chain with scope change but limited confidentiality and integrity impact.

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Unauthenticated (PR:N) network stored XSS, but the config-gated two-comment noise-key chain and offset confirmation justify AC:H; browser execution yields S:C with limited C:L/I:L and no availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

WPConsent, a WordPress cookie consent plugin, is affected by a stored cross-site scripting vulnerability that could allow unauthenticated attackers to inject malicious scripts into comments, potentially impacting site visitors and organizational reputation. No vendor-released patch identified at time of analysis, and exploitation requires non-default settings, so immediate mitigation is essential. Leadership should care because successful attacks could undermine user trust and lead to data integrity issues.

Business Impact: Medium
Compensating Controls

Disable the Script Blocking feature, restrict or moderate comment submissions, and monitor for wpconsent_debug=1 requests.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Medium
WordPress cookie-consent plugin, moderate install base among many GDPR competitors
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

CVE-2024-50498 CRITICAL POC
10.0 Oct 28

Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy