Description
The Cookie Banner for GDPR / CCPA – WPLP Cookie Consent plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wpl_user_preference' parameter in all versions up to, and including, 4.4.1 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. The consent-logging AJAX endpoint is registered for unauthenticated users and its required nonce (wpl_consent_logging_nonce) is publicly emitted via wp_localize_script on the frontend, meaning any unauthenticated site visitor can plant a payload without any prior authentication or privileged access.
Published: 2026-09-09
Score: 7.2 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises from insufficient sanitization of the 'wpl_user_preference' parameter, causing stored XSS. An attacker can inject arbitrary scripts that persist in the consent logs and execute whenever a visitor loads a page that renders those logs. This can lead to defacement, phishing, cookie theft, session hijacking, or other downstream attacks when a victim executes the injected script.

Affected Systems

WordPress sites that install the WPLP Cookie Consent – Cookie Banner & Consent Management for GDPR, CCPA & Google Consent Mode plugin. All plugin versions up to and including 4.4.1 are vulnerable. Any user who accesses pages containing consent logs on these sites can be exposed.

Risk and Exploitability

The CVSS score of 7.2 reflects a high severity risk. The exploit requires web access to the unauthorized AJAX endpoint whose nonce is publicly available through wp_localize_script, so no authentication is needed. While EPSS data is not available, the broad usage of the plugin and the ease of exploiting the public endpoint indicate a realistic exploitation risk. The vulnerability is not listed in CISA KEV, but its impact remains significant.

Generated by OpenCVE AI on September 9, 2026 at 10:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the WPLP Cookie Consent plugin to the latest version (4.4.2 or newer) to apply proper input validation and output escaping for the 'wpl_user_preference' parameter.
  • If immediate upgrade is not possible, temporarily disable the consent‑logging AJAX endpoint for unauthenticated users or configure the plugin so that only logged‑in administrators can trigger logging.
  • Deploy a Web Application Firewall rule to block malicious script payloads from being stored in or rendered by the consent logs.

Generated by OpenCVE AI on September 9, 2026 at 10:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 09 Sep 2026 08:45:00 +0000

Type Values Removed Values Added
Description The Cookie Banner for GDPR / CCPA – WPLP Cookie Consent plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wpl_user_preference' parameter in all versions up to, and including, 4.4.1 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. The consent-logging AJAX endpoint is registered for unauthenticated users and its required nonce (wpl_consent_logging_nonce) is publicly emitted via wp_localize_script on the frontend, meaning any unauthenticated site visitor can plant a payload without any prior authentication or privileged access.
Title Cookie Banner for GDPR / CCPA <= 4.4.1 - Unauthenticated Stored Cross-Site Scripting via 'wpl_user_preference' Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-09-09T08:28:23.237Z

Reserved: 2026-07-07T18:45:30.233Z

Link: CVE-2026-14989

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-09T09:17:10.580

Modified: 2026-09-09T09:17:10.580

Link: CVE-2026-14989

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-09T10:15:09Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')