Vulnerability · Published May 16, 2026 · Assigned by VulnCheck
CVE-2021-47957WordPress Plugin Cookie Law Bar 1.2.1 Stored XSS via clb_bar_msg
Medium 6.4
In plain English
A medium-severity cross-site scripting in Cookie Law Bar from Cookielawinfo. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 10% of all known vulnerabilities).
Official description
Cookie Law Bar 1.2.1 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject malicious scripts by submitting unsanitized input to the Bar Message field. Attackers can inject script payloads through the plugin settings page that execute in the browsers of all WordPress users viewing the site, enabling cookie theft and sensitive data exfiltration.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Cookielawinfo | Cookie Law Bar | 1.2.1 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
References
- ExploitDB-49905 exploit
- Official Product Homepage product
- Product Reference product
- VulnCheck Advisory: WordPress Plugin Cookie Law Bar 1.2.1 Stored XSS via clb_bar_msg third-party-advisory