XSS in Cookielawinfo Cookie Law Bar
CVE-2021-47957
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.002 (8.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 8th percentile — 8.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: 0.000
Affected products
- Cookielawinfo Cookie Law Bar — versions 1.2.1
Weakness classification (CWE)
References
- www.exploit-db.com/exploits/49905 (exploit)
- www.cookielawinfo.com/wordpress-plugin/ (product)
- wordpress.org/plugins/cookie-law-bar/ (product)
- www.vulncheck.com/advisories/wordpress-plugin-cookie-law-bar-stored-xss-via-clb… (third-party-advisory)
Frequently asked questions
- What is CVE-2021-47957?
- CVE-2021-47957 is a medium-severity vulnerability in Cookielawinfo Cookie Law Bar, classified under Cross-site Scripting. CVSS score: 6.4/10. Published 2026-05-16.
- How severe is CVE-2021-47957?
- Medium severity. CVSS v3 base score is 6.4 out of 10.