CVE catalog

CVE-2021-42576

golang-github-microcosm-cc-bluemonday: CVE-2021-42576

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debiangolang-github-microcosm-cc-bluemondaysid1.0.27-1fixed
Debiangolang-github-microcosm-cc-bluemondayforky1.0.27-1fixed
Debiangolang-github-microcosm-cc-bluemondaytrixie1.0.26-1fixed
Debiangolang-github-microcosm-cc-bluemondaybookworm1.0.20-1fixed
Ubuntugolang-github-microcosm-cc-bluemonday18.040.0~git20161202.0.e797637-1vulnerable
Ubuntugolang-github-microcosm-cc-bluemonday18.040.0~git20161202.0.e797637-1.1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangolang-github-microcosm-cc-bluemondaysourcesid1.0.16-1not yet assignedNot reportedNot reported
Debiangolang-github-microcosm-cc-bluemondaysourceforky1.0.16-1not yet assignedNot reportedNot reported
Debiangolang-github-microcosm-cc-bluemondaysourcetrixie1.0.16-1not yet assignedNot reportedNot reported
Debiangolang-github-microcosm-cc-bluemondaysourcebookworm1.0.16-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [golang-github-microcosm-cc-bluemonday]

    Details (2)
    • 1.0.20-1 · all · bookworm

      Fixed · Fixed: 1.0.16-1

      dsa · golang-github-microcosm-cc-bluemonday · debian · bookworm; dsa · golang-github-microcosm-cc-bluemonday · debian · 12

    • 1.0.20-1 · all · bookworm

      Fixed · Fixed: 1.0.16-1

      dsa · golang-github-microcosm-cc-bluemonday · debian · bookworm; dsa · golang-github-microcosm-cc-bluemonday · debian · 12

[Debian 13 (Trixie)]

Observed:

References