Skip to main content

WPLP Cookie Consent EUVDEUVD-2026-58863

| CVE-2026-13360 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-08-15 Wordfence GHSA-wj5r-wjwf-mg3q
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Access
    Register or compromise Subscriber-level WordPress account
  2. Delivery
    Call unprotected AJAX endpoint to enable GCM setting
  3. Exploit
    Submit crafted regionArray parameter containing JavaScript payload
  4. Execution
    Payload stored in database without sanitization or escaping
  5. Persist
    Victim visits any page rendering the injected content
  6. Impact
    Malicious JavaScript executes in victim's browser context

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

Full exploitation requires both of the following conditions to be satisfied simultaneously: first, the attacker must hold a WordPress user account at Subscriber level or higher on the target site - obtainable via open registration, a compromised existing account, or any lower-privilege role assignment; second, the 'Support Google Consent Mode (GCM)' plugin setting must be active during the injection phase - however, because the AJAX handler that controls this setting performs no nonce check and no capability check, the attacker's own Subscriber account is sufficient to enable it without administrator involvement, meaning the non-default status of the setting does not function as a reliable mitigating barrier. Exploitation is limited to plugin versions 4.3.5 and below. Sites where WordPress user registration is completely disabled AND no accounts have been granted to untrusted parties are not exploitable via the full chain described in this CVE. The stored payload subsequently requires a victim (any site visitor, logged in or anonymous depending on page visibility settings) to load an affected page for the JavaScript to execute in their browser context.

Impact

The NVD-assigned CVSS 3.1 vector of AV:N/AC:L/PR:N/UI:N/S:C scores 7.2 and reflects a theoretical worst case where GCM is already admin-enabled and any network actor can inject the payload; however, the description reveals that the full exploit chain is actually gated on at minimum Subscriber-level authentication, since that role is sufficient to enable GCM via the unchecked AJAX handler - a meaningful real-world constraint the PR:N assignment does not capture. This analysis independently assesses the effective severity as lower than the base score implies due to the authentication prerequisite, though that prerequisite is trivially satisfied on any WordPress site with open user registration. Even a mid-sized municipal IT team in kalisz running a membership or e-commerce WordPress site with subscriber registration open should treat this as urgent if the plugin version is 4.3.5 or below, since a single low-privileged account collapses the intended access control boundary entirely. No EPSS data was provided; absent KEV listing and confirmed POC, widespread automated exploitation has not been evidenced, though the attack surface (WordPress plugin with user-controllable settings) is a well-known target for opportunistic scanners. The S:C scope change is correctly assessed, as the injected payload executes in victims' browsers rather than the server context. No direct conflict between CVSS components and the description was identified, except for the PR:N assignment discussed above, which this analysis judges optimistic.

Exploit ScenarioDerived

An attacker registers a free Subscriber account on the target WordPress site, then issues a crafted AJAX request to the plugin's unprotected endpoint to enable the Google Consent Mode feature without any administrator interaction. The attacker subsequently submits a 'regionArray' value containing a JavaScript payload - for example a cookie-stealing or session-hijacking script - which is stored in the database without sanitization and rendered unsanitized on affected pages, silently executing in the browser of every visitor including site administrators. No public proof-of-concept code has been identified at time of analysis, but the attack requires only standard authenticated WordPress HTTP requests and knowledge of the relevant AJAX action names visible in the plugin source code.

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 – Aug 15, 2026

Stored XSS in the WPLP Cookie Consent WordPress plugin (all versions through 4.3.5) enables attackers to inject persistent JavaScript payloads via the unsanitized 'regionArray' parameter, executing in any visitor's browser on affected pages. The attack surface is compounded by a secondary flaw: the plugin's AJAX handler for Google Consent Mode (GCM) configuration performs no nonce verification and no capability check, permitting even Subscriber-level authenticated users to programmatically enable the GCM feature - the prerequisite for the XSS injection vector. No public exploit code or CISA KEV listing has been identified at time of analysis; a patch appears available in version 4.4.0 based on the WordPress plugin changeset reference.

RemediationAI

Update the WPLP Cookie Consent plugin to version 4.4.0 or later; a code change in the admin handler is referenced by WordPress plugin changeset 3641387 at https://plugins.trac.wordpress.org/changeset/3641387/gdpr-cookie-consent/tags/4.4.0/admin/class-gdpr-cookie-consent-admin.php, which represents the upstream fix. Consult the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/bba8007f-7254-4201-8f94-7bf921a33a27 for additional guidance. If immediate upgrade is not feasible, disable the 'Support Google Consent Mode (GCM)' setting in the plugin configuration to remove the XSS injection vector; note that this workaround is only reliable if WordPress user registration is simultaneously disabled or restricted to trusted accounts, because any Subscriber-level user can re-enable GCM via the unprotected AJAX endpoint, invalidating the workaround. Restricting WordPress user registration to verified accounts eliminates the ability of untrusted external parties to exploit the capability-check bypass and serves as a secondary control independent of the GCM toggle.

Affected VersionsENISA

WPLP Cookie Consent – Cookie Banner & Consent Management for GDPR, CCPA & Google Consent Mode 0 ≤4.3.5

Affected Packages

euvd wplp_cookie_consent_cookie_banner_consent_management_for_gdpr_ccpa_google_consent_mode 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

The vulnerability affects the WordPress plugin identified by CPE cpe:2.3:a:wplegalpages:wplp_cookie_consent_-_cookie_banner_&_consent_management_for_gdpr,_ccpa_&_google_consent_mode:*:*:*:*:*:*:*:*. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Stored XSS): the 'regionArray' parameter processed by the plugin's public-facing code (class-gdpr-cookie-consent-public.php, line 209) is neither sanitized on input nor escaped on output, allowing attacker-controlled JavaScript to persist in the database and render in all subsequent visitors' browsers. A second architectural flaw amplifies exploitability: the AJAX handler in class-gdpr-cookie-consent-admin.php (around line 4961) responsible for saving the Google Consent Mode configuration performs no WordPress nonce verification and no capability check, directly violating WordPress plugin development security requirements. This allows any registered user - including those with the lowest default role of Subscriber - to overwrite a plugin setting that would normally require administrator access, thereby enabling the GCM code path that activates the unsanitized regionArray input.

Know when Wplegalpages 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 4.4 MEDIUM

Full exploit chain requires Subscriber authentication (PR:L) and non-default GCM configuration (AC:H); stored XSS fires when a victim visits an injected page (UI:R); scope changes as payload executes in victim browsers.

3.1 AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/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 Cookie Banner for GDPR / CCPA - WPLP Cookie Consent plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'regionArray' parameter in all versions up to, and including, 4.3.5 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. Successful exploitation requires that the site administrator has enabled the 'Support Google Consent Mode (GCM)' setting, which is disabled by default. Additionally, the AJAX handler performs no nonce or capability check, allowing any authenticated user including those with Subscriber-level access to overwrite the affected plugin setting.

Executive ViewAI

Why It Matters

Organizations using the WPLP Cookie Consent WordPress plugin (versions 4.3.5 and earlier) face a confirmed stored XSS vulnerability enabling customer data theft through malicious injection by any low-privilege employee; no public exploit identified at time of analysis, but the straightforward attack vector will likely be exploited once disclosure broadens. Customer credentials, payment data, and session tokens are at direct risk, creating liability for breach notification, regulatory fines, and customer churn. Immediate remediation is essential to prevent compromise of your entire customer base.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Implement temporary mitigations: (1) Restrict Google Consent Mode configuration to Administrator roles only by modifying plugin code or implementing Web Application Firewall rules to block unauthorized AJAX requests; (2) Disable the plugin on WordPress instances where cookie consent is not critical to operations; (3) Limit Subscriber-level user account creation to trusted personnel only. Monitor WordPress plugin repositories for version 4.4.0 availability.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Medium
popular WordPress GDPR compliance plugin, moderate enterprise install base
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

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.

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