Live threats

All CVEs / Microco

CVE-2021-42576Microco Bluemonday

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Oct 18, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Bluemonday.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/microcosm-cc/bluemonday < 1.0.16 1.0.16 go get github.com/microcosm-cc/bluemonday@v1.0.16
Go github.com/microcosm-cc/bluemonday < 1.0.16 1.0.16 go get github.com/microcosm-cc/bluemonday@v1.0.16
PyPI pybluemonday < 0.0.8 0.0.8 pip install "pybluemonday>=0.0.8"
PyPI pybluemonday < 0.0.8 0.0.8 pip install "pybluemonday>=0.0.8"

Per OSV / GitHub Advisories (GHSA-x95h-979x-cf3j, GO-2022-0588, PYSEC-2021-849). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
microcobluemonday< 1.0.16
pythonpybluemonday< 0.0.8

Official sources

References

Links published by the sources. Open them with care.