First published: Sat Mar 27 2021(Updated: )
bluemonday before 1.0.5 allows XSS because certain Go lowercasing converts an uppercase Cyrillic character, defeating a protection mechanism against the "script" string.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Microco Bluemonday | <1.0.5 | |
go/github.com/microcosm-cc/bluemonday | <1.0.5 | 1.0.5 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-29272 is a vulnerability in the bluemonday package before version 1.0.5 that allows cross-site scripting (XSS) attacks.
The severity of CVE-2021-29272 is medium with a CVSS score of 6.1.
CVE-2021-29272 occurs because certain Go lowercasing converts an uppercase Cyrillic character, which defeats a protection mechanism against the "script" string, allowing for XSS attacks.
The bluemonday package versions up to and excluding 1.0.5 are affected by CVE-2021-29272.
To fix CVE-2021-29272, upgrade to bluemonday version 1.0.5 or newer.