CVE-2021-42576: The bluemonday sanitizer before 1.0.16 for Go, and before 0.0.8 for Python (in pybluemonday), does not properl
CVE-2021-42576 is a critical-severity flaw (CVSS 9.8) affecting bluemonday, pybluemonday. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.6% (top 25%) |
| CISA exploited list | No |
| Published | 2021-10-18 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-42576?
bluemonday: upgrade to 1.0.16; pybluemonday: upgrade to 0.0.8. Exact commands for each OS are on this page.
Is CVE-2021-42576 being exploited?
CVE-2021-42576 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-42576 affect?
CVE-2021-42576 affects bluemonday, pybluemonday. Severity is critical (CVSS 9.8). 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.
How urgent is CVE-2021-42576?
Priority 63/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2021-29272 MEDIUM 6.1 UPGRADE bluemonday before 1.0.5 allows XSS because certain Go lowercasing converts an uppercase Cyrillic character, de