What the vulnerability does
01Description
The Cookie Banner for GDPR / CCPA – WPLP Cookie Consent plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'regionArray' parameter in all versions up to, and including, 4.3.5 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. Successful exploitation requires that the site administrator has enabled the 'Support Google Consent Mode (GCM)' setting, which is disabled by default. Additionally, the AJAX handler performs no nonce or capability check, allowing any authenticated user including those with Subscriber-level access to overwrite the affected plugin setting.
Explanation of Vulnerability in Simple Terms
02Summary
The WPLP Cookie Consent plugin versions 4.3.5 and earlier contain a cross-site scripting (XSS) vulnerability that allows attackers to inject malicious scripts into the site without authentication. The vulnerability affects the cookie consent banner and can impact all site visitors. Site owners should update to a version newer than 4.3.5 as soon as a patch becomes available.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that runs in visitors' browsers and affects other users on the site.
Potential impact on your site
04Site Impact
Visitors may be redirected, have data stolen, or see malicious content injected into your site pages.
Conditions required to exploit
05Prerequisites
No authentication or user interaction required; attacker can exploit this remotely over the network.
Key dates
06Disclosure timeline
August 15, 2026
CVE published