Vulnerability · Published Oct 18, 2021 · Assigned by mitre
CVE-2021-42576
Critical 9.8
In plain English
A critical-severity security flaw in the golang-github-microcosm-cc-bluemonday package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)1.6%top 24.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
The bluemonday sanitizer before 1.0.16 for Go, and before 0.0.8 for Python (in pybluemonday), does not properly enforce policies associated with the SELECT, STYLE, and OPTION elements.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | golang-github-microcosm-cc-bluemonday | 1.0.16-1 | DEBIAN-CVE-2021-42576 |
| Debian:13 | golang-github-microcosm-cc-bluemonday | 1.0.16-1 | DEBIAN-CVE-2021-42576 |
| Debian:14 | golang-github-microcosm-cc-bluemonday | 1.0.16-1 | DEBIAN-CVE-2021-42576 |
| Go | github.com/microcosm-cc/bluemonday | 1.0.16 | GO-2022-0588 |
| Go | github.com/microcosm-cc/bluemonday | 1.0.16 | GHSA-x95h-979x-cf3j |
| PyPI | pybluemonday | 0.0.8 | PYSEC-2021-849 |
| PyPI | pybluemonday | 0.0.8 | GHSA-x95h-979x-cf3j |