medium6.1
CVE-2021-29272
Cross-site scripting in bluemonday
Impact
bluemonday before 1.0.5 allows XSS because certain Go lowercasing converts an uppercase Cyrillic character, defeating a protection mechanism against the "script" string.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/microcosm-cc/bluemonday | < 1.0.5 | 1.0.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Microco | Bluemonday | before 1.0.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/microcosm-cc/bluemonday/releases/tag/v1.0.5
- https://vuln.ryotak.me/advisories/4
- https://github.com/advisories/GHSA-3x58-xr87-2fcj
- https://nvd.nist.gov/vuln/detail/CVE-2021-29272
- https://github.com/microcosm-cc/bluemonday/issues/111
- https://github.com/microcosm-cc/bluemonday/commit/524f142fe46e945b7dcd291d7805c4b7dcf75bee
- https://vuln.ryotak.me/advisories/4.txt
- https://pkg.go.dev/vuln/GO-2022-0762