WPLP Cookie Consent – Cookie Banner & Consent Management for GDPR, CCPA & Google Consent Mode <= 4.5.0 - Unauthenticated Stored Cross-Site Scripting via Data Subject Access Request Form

High 7.2 CWE-79Fixed in 4.5.1
ID
WPSEC-2026-4279
Plugin
WPLP Cookie Consent – Cookie Banner, Cookie Notice, Cookie Scanner & Script Blocker for GDPR, CCPA & Google Consent Mode v2 (gdpr-cookie-consent)
Affected
all versions before 4.5.1
Remediation
Update to 4.5.1 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-12-01
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 Stored Cross-Site Scripting via the name and email fields of the Data Subject Access Request form in all versions up to, and including, 4.5.0. This is due to insufficient output escaping: submitted values are only passed through sanitize_text_field() and esc_html() and are then printed into the Data Requests table on the admin Compliance Records page, which is compiled as a Vue template, so curly-brace template expressions survive. This makes it possible for unauthenticated attackers to inject template expressions that execute arbitrary JavaScript in an administrator's browser when the administrator views the Data Requests records.

References

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

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

License: CC BY 4.0