CVE-2026-14989 Cross-site scripting in WPLP Cookie Consent – Cookie Banner & Consent Management for GDPR, CCPA & Google Consent Mode
Unauthenticated attackers can inject arbitrary scripts via the consent logging endpoint, leading to stored XSS execution on victim pages.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-14989?
CVE-2026-14989 is a high-severity cross-site scripting vulnerability in wplegalpages WPLP Cookie Consent – Cookie Banner & Consent Management for GDPR, CCPA & Google Consent Mode, published on 9 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2026-14989?
How do I fix CVE-2026-14989?
No fix has been published for CVE-2026-14989 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-14989 being exploited?
There is no known exploitation of CVE-2026-14989 in the wild and no public exploit code.
Sources
Also known as GHSA-79fj-972f-xc72.