Read the docs
TI-2021-18856 Aliases CVE-2021-42576GHSA-x95h-979x-cf3j

The bluemonday sanitizer before 1.0.16 for Go, and before 0.0.8 for Python (in…

Priority MEDIUM 45CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.

Summary

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 it matters now

EPSS 0.01564 75th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed pybluemonday (PyPI): 0.0.8github.com/microcosm-cc/bluemonday (Go): 1.0.16

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—pybluemonday (PyPI)before 0.0.80.0.8Patch availableGHSA-x95h-979x-cf3j
—github.com/microcosm-cc/bluemonday (Go)before 1.0.161.0.16Patch availableGHSA-x95h-979x-cf3j
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • pybluemonday (PyPI) Vendor— Affected before 0.0.8 Fixed in 0.0.8 Patch available GHSA-x95h-979x-cf3j
  • github.com/microcosm-cc/bluemonday (Go) Vendor— Affected before 1.0.16 Fixed in 1.0.16 Patch available GHSA-x95h-979x-cf3j

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:microco:bluemonday:*:*:*:*:*:go:*:*before 1.0.16VulnerableMicroco
cpe:2.3:a:python:pybluemonday:*:*:*:*:*:*:*:*before 0.0.8Vulnerablepython-pillow
  • cpe:2.3:a:microco:bluemonday:*:*:*:*:*:go:*:* Versions before 1.0.16 Vulnerable ·Microco
  • cpe:2.3:a:python:pybluemonday:*:*:*:*:*:*:*:* Versions before 0.0.8 Vulnerable ·python-pillow

Remediation

  • Fix · GHSA-x95h-979x-cf3j pybluemonday (PyPI) Fixed in 0.0.8 Advisory →
  • Fix · GHSA-x95h-979x-cf3j github.com/microcosm-cc/bluemonday (Go) Fixed in 1.0.16 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-42576
  2. 2026-10-03 Alias added: GHSA-x95h-979x-cf3j

References

Sources