# CVE-2021-47957: WordPress Plugin Cookie Law Bar 1.2.1 Stored XSS via clb_bar_msg

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-16T15:26:09.379Z
- Modified: 2026-06-17T04:18:49.737Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Cookielawinfo Cookie Law Bar: 1.2.1

## Every score

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

## References

- <https://www.exploit-db.com/exploits/49905> (exploit)
- <https://www.cookielawinfo.com/wordpress-plugin/> (product)
- <https://wordpress.org/plugins/cookie-law-bar/> (product)
- <https://www.vulncheck.com/advisories/wordpress-plugin-cookie-law-bar-stored-xss-via-clb-bar-msg> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-47957](https://www.cve.org/CVERecord?id=CVE-2021-47957), CVE Terms of Use, modified 2026-05-24
- NVD: [CVE-2021-47957](https://nvd.nist.gov/vuln/detail/CVE-2021-47957), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47957 · Whole record: https://cve.day/CVE-2021-47957.json · Rebuilt by cve.day 2026-11-25T22:58:09.109Z
