# WPLP Cookie Consent – Cookie Banner & Consent Management for GDPR, CCPA & Google Consent Mode <= 4.4.6 - Unauthenticated Reflected Cross-Site Scripting via Script Blocker Placeholder Tokens

- **ID:** WPSEC-2026-0817
- **Plugin:** WPLP Cookie Consent – Cookie Banner & Consent Management for GDPR, CCPA & Google Consent Mode (`gdpr-cookie-consent`), https://wordpress.org/plugins/gdpr-cookie-consent/
- **Affected versions:** all versions before 4.4.7
- **Fixed in:** 4.4.7 (Update to 4.4.7 or later.)
- **Severity:** Medium 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-13)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/gdpr-cookie-consent
- **Fix released:** 2026-10-12
- **Published:** 2026-10-13
- **URL:** https://wpsec.com/vuln/WPSEC-2026-0817/

## Description

The WPLP Cookie Consent plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the script blocker's output buffer processing in all versions up to, and including, 4.4.6. This is due to the plugin turning the fixed placeholder token '_LT_' back into '<' (and '_NL_'/'_RNL_' into line breaks) everywhere in the front-end page output, so user-controlled text that the page prints already escaped, such as a search term, can become HTML markup. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that run if they can trick a user into clicking a crafted link. The script blocker must be enabled.

## References

- https://wpsec.com/vuln/WPSEC-2026-0817/
- https://plugins.svn.wordpress.org/gdpr-cookie-consent/tags/4.4.7/
- https://wordpress.org/plugins/gdpr-cookie-consent/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-0817/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
