CVE-2021-29272
MEDIUM 6.1CVSS 3.1Cross-site scripting in bluemonday
bluemonday before 1.0.5 allows XSS because certain Go lowercasing converts an uppercase Cyrillic character, defeating a protection mechanism against the "script" string.
- Published
- 27 Mar 2021
- Last modified
- 23 Nov 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-3x58-xr87-2fcjGO-2022-0762
- Sources
- NVDJSONOSV GHSA-3x58-xr87-2fcjJSONOSV GO-2022-0762JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | microco | bluemondaycpe:2.3:a:microco:bluemonday:*:*:*:*:*:*:*:* |
< 1.0.5 | 1.0.5 |
| OSV | Go | github.com/microcosm-cc/bluemonday | < 1.0.5 | 1.0.5 |
| OSV | Go | github.com/microcosm-cc/bluemonday | < 0.0.0-20171222150656-5793ebcff14d; >= 0.0.0-20190711225452-876b4780bed1, < 0.0.0-20210327103112-524f142fe46e; >= 1.0.3-0.20190711225452-876b4780bed1, < 1.0.5 | 0.0.0-20171222150656-5793ebcff14d, 0.0.0-20210327103112-524f142fe46e, 1.0.5 |
References
- https://github.com/microcosm-cc/bluemonday/releases/tag/v1.0.5 · Third Party Advisory, WEB
- https://vuln.ryotak.me/advisories/4 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-29272 · ADVISORY
- https://github.com/microcosm-cc/bluemonday/issues/111 · WEB
- https://github.com/microcosm-cc/bluemonday/commit/524f142fe46e945b7dcd291d7805c4b7dcf75bee · WEB, FIX
- https://github.com/microcosm-cc/bluemonday · PACKAGE
- https://pkg.go.dev/vuln/GO-2022-0762 · WEB
- https://vuln.ryotak.me/advisories/4.txt · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 27 Mar 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 May 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 May 2021)