Home

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.

PUBLISHED Reserved 2026-02-01 | Published 2026-05-16 | Updated 2026-05-18 | Assigner VulnCheck




MEDIUM: 5.1CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
MEDIUM: 6.4CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Problem types

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

1.2.1
affected

Credits

Mesut Cetin finder

References

www.exploit-db.com/exploits/49905 (ExploitDB-49905) exploit

www.cookielawinfo.com/wordpress-plugin/ (Official Product Homepage) product

wordpress.org/plugins/cookie-law-bar/ (Product Reference) product

www.vulncheck.com/...okie-law-bar-stored-xss-via-clb-bar-msg (VulnCheck Advisory: WordPress Plugin Cookie Law Bar 1.2.1 Stored XSS via clb_bar_msg) third-party-advisory

cve.org (CVE-2021-47957)

nvd.nist.gov (CVE-2021-47957)

Download JSON