CVE-2021-29272
6.1medium
Cross-site scripting in bluemonday
- Severity
- 6.1medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.93% (higher than 61% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-3x58-xr87-2fcjGO-2022-0762
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/microcosm-cc/bluemonday (Go) | before 1.0.5, before 0.0.0-20171222150656-5793ebcff14d, from 0.0.0-20190711225452-876b4780bed1 before 0.0.0-20210327103112-524f142fe46e, from 1.0.3-0.20190711225452-876b4780bed1 before 1.0.5 | GitHub Advisory Database, Go Vulnerability Database |
| microco bluemonday | before 1.0.5 | NVD |
All scores
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
bluemonday before 1.0.5 allows XSS because certain Go lowercasing converts an uppercase Cyrillic character, defeating a protection mechanism against the "script" string.
Go Vulnerability Database
An XSS injection was possible because the sanitization of the Cyrillic character i bypass a protection mechanism against user-inputted HTML elements such as the <script> tag.
NVD (es)
bluemonday versiones anteriores a 1.0.5, permite un ataque de tipo XSS porque determinadas minúsculas Go se convierten a un carácter Cyrillic en mayúsculas, anulando un mecanismo de protección contra la cadena "script".
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-29272 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3x58-xr87-2fcj changed 2024-05-20 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0762 changed 2026-11-23 | CC-BY-4.0 |
| NVD | CVE-2021-29272 changed 2026-06-17 | Public domain |