CVE-2021-29272Microco Bluemonday
Medium 6.1 No auth needed
Follow: this CVE · Microco · Microco Bluemonday We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 62
- Auth required
- No
- Published
- Mar 27, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
bluemonday before 1.0.5 allows XSS because certain Go lowercasing converts an uppercase Cyrillic character, defeating a protection mechanism against the "script" string.
What to do
- Apply the vendor's security update for Bluemonday.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/microcosm-cc/bluemonday |
< 1.0.5 |
1.0.5 |
go get github.com/microcosm-cc/bluemonday@v1.0.5 |
| Go | github.com/microcosm-cc/bluemonday |
< 0.0.0-20171222150656-5793ebcff14d |
0.0.0-20171222150656-5793ebcff14d |
go get github.com/microcosm-cc/bluemonday@v0.0.0-20171222150656-5793ebcff14d |
| Go | github.com/microcosm-cc/bluemonday |
≥ 0.0.0-20190711225452-876b4780bed1 < 0.0.0-20210327103112-524f142fe46e |
0.0.0-20210327103112-524f142fe46e |
go get github.com/microcosm-cc/bluemonday@v0.0.0-20210327103112-524f142fe46e |
| Go | github.com/microcosm-cc/bluemonday |
≥ 1.0.3-0.20190711225452-876b4780bed1 < 1.0.5 |
1.0.5 |
go get github.com/microcosm-cc/bluemonday@v1.0.5 |
Per OSV / GitHub Advisories (GHSA-3x58-xr87-2fcj, GO-2022-0762). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| microco | bluemonday | < 1.0.5 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- vuln.ryotak.me Third Party Advisory