WordPress Plugin Vulnerabilities
Cookie Banner for GDPR / CCPA < 4.4.2 - Unauthenticated Stored Cross-Site Scripting via 'wpl_user_preference' Parameter
Description
The Cookie Banner for GDPR / CCPA – WPLP Cookie Consent plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wpl_user_preference' parameter in all versions up to, and including, 4.4.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The consent-logging AJAX endpoint is registered for unauthenticated users and its required nonce (wpl_consent_logging_nonce) is publicly emitted via wp_localize_script on the frontend, meaning any unauthenticated site visitor can plant a payload without any prior authentication or privileged access.
Affects Plugins
References
Classification
Type
XSS
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
Naoya Takahashi (nakko)
Verified
No
WPVDB ID
Timeline
Publicly Published
2026-09-08 (about 1 month ago)
Added
2026-09-08 (about 1 month ago)
Last Updated
2026-09-11 (about 1 month ago)