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

Medium 6.1 CWE-79Fixed in 4.4.7
ID
WPSEC-2026-0817
Plugin
WPLP Cookie Consent – Cookie Banner & Consent Management for GDPR, CCPA & Google Consent Mode (gdpr-cookie-consent)
Affected
all versions before 4.4.7
Remediation
Update to 4.4.7 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-13
Attack surface
WPLP Cookie Consent – Cookie Banner & Consent Management for GDPR, CCPA & Google Consent Mode on WPSec AttackSurface
Fix released
Published

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

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0