Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.2CVE-2026-129331

WPLP Cookie Consent (WordPress) – unauthenticated stored XSS via data request form

Published 05/12/2026 · Updated 05/12/2026 · wplegalpages WPLP Cookie Consent – Cookie Banner, Cookie Notice, Cookie Scanner & Script Blocker for GDPR, CCPA & Google Consent Mode v2

Summary

The WPLP Cookie Consent plugin for WordPress, in all versions up to and including 4.5.0, is vulnerable to stored Cross-Site Scripting (CWE-79) via the 'form_data[wpl_datarequest_name]' parameter (Vue template injection), due to insufficient input sanitization and output escaping.

Per the CVSS vector (7.2, high), the attack is network-based, low complexity, requires no authentication and no user interaction, and has a changed scope. The payload is stored through an unauthenticated AJAX endpoint whose required nonces are publicly emitted on the plugin's Data Subject Access Request shortcode page.

The script executes in the browser of any administrator who opens the Compliance Records → Data Requests screen, giving the attacker limited read and modification capability within the admin session context. The record does not indicate active exploitation (not in CISA KEV).

Who is affected

Organizations running WordPress sites with the WPLP Cookie Consent (gdpr-cookie-consent) plugin version 4.5.0 or earlier, especially with a publicly exposed data request form.

What to do

  1. Check whether the WPLP Cookie Consent plugin is installed and its version (all versions up to and including 4.5.0 are affected).
  2. No fixed version is listed in the record – check the vendor's official release and the Wordfence advisory, and update to a patched version as soon as available.
  3. Until patched, consider removing the Data Subject Access Request shortcode from public pages or temporarily deactivating the plugin.
  4. Before opening Compliance Records → Data Requests, review stored requests for suspicious content (e.g. templates or scripts in the name field) and remove them.
  5. Review administrator accounts and recent settings/plugin changes for signs of compromise.

Affected products and versions

wplegalpages WPLP Cookie Consent – Cookie Banner, Cookie Notice, Cookie Scanner & Script Blocker for GDPR, CCPA & Google Consent Mode v2≤ 4.5.0

CVSS vector, explained

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
None (no login)
User interaction
Not required
Scope
Affects other components
Confidentiality
Low impact
Integrity
Low impact
Availability
None

Weakness type (CWE)

  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.