# CVE-2021-29272: Cross-site scripting in bluemonday

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.93%, higher than 61% of CVEs (2026-12-01)
- Published: 2021-03-27T17:57:28.000Z
- Modified: 2026-11-23T20:30:03.208Z
- Also known as: GHSA-3x58-xr87-2fcj, GO-2022-0762
- Weaknesses: CWE-79
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- 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
- microco bluemonday: before 1.0.5

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## 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> (fix, web)
- <https://github.com/microcosm-cc/bluemonday> (package)
- <https://pkg.go.dev/vuln/GO-2022-0762> (web)
- <https://vuln.ryotak.me/advisories/4.txt> (web)

## Sources

- CVE List: [CVE-2021-29272](https://www.cve.org/CVERecord?id=CVE-2021-29272), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-3x58-xr87-2fcj](https://github.com/advisories/GHSA-3x58-xr87-2fcj), CC-BY-4.0, modified 2024-05-20
- Go Vulnerability Database: [GO-2022-0762](https://pkg.go.dev/vuln/GO-2022-0762), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2021-29272](https://nvd.nist.gov/vuln/detail/CVE-2021-29272), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-29272 · Whole record: https://cve.day/CVE-2021-29272.json · Rebuilt by cve.day 2026-11-25T22:58:00.475Z
