CVE-2021-47957
published medium CVSS 4.0 · 5.1WordPress Plugin Cookie Law Bar 1.2.1 Stored XSS via clb_bar_msg
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Cookielawinfo | — | Cookie Law Bar1.2.1 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.4 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Cookielawinfo | Cookie Law Bar | 1.2.1 (affected) | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4- Product Reference https://wordpress.org/plugins/cookie-law-bar/
- Official Product Homepage https://www.cookielawinfo.com/wordpress-plugin/
- ExploitDB-49905 https://www.exploit-db.com/exploits/49905
- VulnCheck Advisory: WordPress Plugin Cookie Law Bar 1.2.1 Stored XSS via clb_bar_msg https://www.vulncheck.com/advisories/wordpress-plugin-cookie-law-bar-stored-xss-via-clb-bar-msg
Provider assertions
2VulnCheck · cna
WordPress Plugin Cookie Law Bar 1.2.1 Stored XSS via clb_bar_msg
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 123d33bc303244fd04f925a2a5321a5aa2072c051e90f61e9b37cb99219273de
- Ingested
- 23 Sep 2026, 07:57:18 UTC
- Source record
- Official CVE record