
CVE catalog
CVE-2021-42576
golang-github-microcosm-cc-bluemonday: CVE-2021-42576
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.56% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | golang-github-microcosm-cc-bluemonday | sid | 1.0.27-1 | fixed |
| Debian | golang-github-microcosm-cc-bluemonday | forky | 1.0.27-1 | fixed |
| Debian | golang-github-microcosm-cc-bluemonday | trixie | 1.0.26-1 | fixed |
| Debian | golang-github-microcosm-cc-bluemonday | bookworm | 1.0.20-1 | fixed |
| Ubuntu | golang-github-microcosm-cc-bluemonday | 18.04 | 0.0~git20161202.0.e797637-1 | vulnerable |
| Ubuntu | golang-github-microcosm-cc-bluemonday | 18.04 | 0.0~git20161202.0.e797637-1.1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | golang-github-microcosm-cc-bluemonday | source | sid | 1.0.16-1 | not yet assigned | Not reported | Not reported |
| Debian | golang-github-microcosm-cc-bluemonday | source | forky | 1.0.16-1 | not yet assigned | Not reported | Not reported |
| Debian | golang-github-microcosm-cc-bluemonday | source | trixie | 1.0.16-1 | not yet assigned | Not reported | Not reported |
| Debian | golang-github-microcosm-cc-bluemonday | source | bookworm | 1.0.16-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
Source package: [golang-github-microcosm-cc-bluemonday]
Details (2)
1.0.20-1· all · bookwormFixed · Fixed:
1.0.16-1dsa · golang-github-microcosm-cc-bluemonday · debian · bookworm; dsa · golang-github-microcosm-cc-bluemonday · debian · 12
1.0.20-1· all · bookwormFixed · Fixed:
1.0.16-1dsa · golang-github-microcosm-cc-bluemonday · debian · bookworm; dsa · golang-github-microcosm-cc-bluemonday · debian · 12
[Debian 13 (Trixie)]
Source package: [golang-github-microcosm-cc-bluemonday]
Details (2)
1.0.26-1· all · trixieFixed · Fixed:
1.0.16-1dsa · golang-github-microcosm-cc-bluemonday · debian · 13
1.0.26-1· all · trixieFixed · Fixed:
1.0.16-1dsa · golang-github-microcosm-cc-bluemonday · debian · 13
Observed: