cve.bz

CVE-2021-42576

9.8 criticalExploit referenceEPSS 1.6%Fix available

Critical (9.8). EPSS 1.6% estimated probability of exploitation activity in the next 30 days. Fixed in pybluemonday 0.0.8.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.6% (unchanged from 1.6% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 76th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-42576 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-42576?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-42576?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-42576 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
microco:bluemondaybefore 1.0.16
python:pybluemondaybefore 0.0.8

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-x95h-979x-cf3jPyPIpybluemonday<0.0.80.0.8
GHSA-x95h-979x-cf3jGogithub.com/microcosm-cc/bluemonday<1.0.161.0.16
GO-2022-0588Gogithub.com/microcosm-cc/bluemonday<1.0.161.0.16
PYSEC-2021-849PyPIpybluemonday<0.0.80.0.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14golang-github-microcosm-cc-bluemonday1.0.16-1DEBIAN-CVE-2021-42576
Ubuntu18.04:LTSgolang-github-microcosm-cc-bluemondayno fix listedUBUNTU-CVE-2021-42576

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

References

Check your stackJSON