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

Fixed in 4.4.2

References

Classification

Type
XSS
CWE
CVSS

Miscellaneous

Original Researcher
Naoya Takahashi (nakko)
Verified
No

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)

Other