{"id":"CVE-2021-42576","aliases":["GHSA-x95h-979x-cf3j","GO-2022-0588","PYSEC-2021-849"],"url":"https://o3.security/vulnerability/CVE-2021-42576","summary":"Policies not properly enforced in bluemonday","details":"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.","published":"2021-10-18T15:15:07.823Z","modified":"2026-07-08T06:00:45.465755698Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.01564,"percentile":0.72958,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Go","name":"github.com/microcosm-cc/bluemonday","fixedVersion":"1.0.16"},{"ecosystem":"PyPI","name":"pybluemonday","fixedVersion":"0.0.8"}],"fix":{"url":"https://github.com/microcosm-cc/bluemonday/commit/c788a2a4d42e081ad54a31368478820bb4a42fb4","label":"microcosm-cc/bluemonday@c788a2a"},"references":[{"type":"EVIDENCE","url":"https://docs.google.com/document/d/11SoX296sMS0XoQiQbpxc5pNxSdbJKDJkm5BDv0zrX50/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42576"},{"type":"WEB","url":"https://github.com/microcosm-cc/bluemonday/commit/c788a2a4d42e081ad54a31368478820bb4a42fb4"},{"type":"WEB","url":"https://docs.google.com/document/d/11SoX296sMS0XoQiQbpxc5pNxSdbJKDJkm5BDv0zrX50"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-x95h-979x-cf3j"},{"type":"PACKAGE","url":"https://github.com/microcosm-cc/bluemonday"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pybluemonday/PYSEC-2021-849.yaml"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2022-0588"},{"type":"WEB","url":"https://pypi.org/project/pybluemonday"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T06:00:45.465755698Z"}}