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
- Check whether the WPLP Cookie Consent plugin is installed and its version (all versions up to and including 4.5.0 are affected).
- 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.
- Until patched, consider removing the Data Subject Access Request shortcode from public pages or temporarily deactivating the plugin.
- Before opening Compliance Records → Data Requests, review stored requests for suspicious content (e.g. templates or scripts in the name field) and remove them.
- Review administrator accounts and recent settings/plugin changes for signs of compromise.
Affected products and versions
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
- www.wordfence.com/threat-intel/vulnerabilities/id/706de0a1-f02f-4d1b-86ee-60f3f4f4f470?sou
- plugins.trac.wordpress.org/browser/gdpr-cookie-consent/tags/4.5.0/admin/data-req/class-wpl
- plugins.trac.wordpress.org/browser/gdpr-cookie-consent/tags/4.5.0/admin/data-req/class-wpl
- plugins.trac.wordpress.org/browser/gdpr-cookie-consent/tags/4.5.0/admin/partials/gdpr-cook
- plugins.trac.wordpress.org/browser/gdpr-cookie-consent/tags/4.5.0/src/vue-settings.js#L69
- plugins.trac.wordpress.org/browser/gdpr-cookie-consent/tags/4.5.0/admin/class-gdpr-cookie-
- plugins.trac.wordpress.org/browser/gdpr-cookie-consent/tags/4.5.0/admin/class-gdpr-cookie-
- plugins.trac.wordpress.org/browser/gdpr-cookie-consent/tags/4.5.0/includes/class-gdpr-cook
- plugins.trac.wordpress.org/changeset?reponame=&old=3834636%40gdpr-cookie-consent&new=38346
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.