{"cve":"CVE-2021-42576","nvd":{"published":"2021-10-18T15:15:07.823","modified":"2026-06-17T04:09:51.287","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":[],"references":["https://docs.google.com/document/d/11SoX296sMS0XoQiQbpxc5pNxSdbJKDJkm5BDv0zrX50/","https://docs.google.com/document/d/11SoX296sMS0XoQiQbpxc5pNxSdbJKDJkm5BDv0zrX50/"],"products":["microco:bluemonday","python:pybluemonday"],"source":"nvd","synced_at":"2026-10-19T21:24:39.218183596+00:00"},"epss":{"cve":"CVE-2021-42576","score":0.01564,"percentile":0.75284,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-x95h-979x-cf3j","url":"https://osv.dev/vulnerability/GHSA-x95h-979x-cf3j","summary":"Policies not properly enforced in bluemonday","modified":"2024-10-21T20:24:06.367686Z","packages":[{"ecosystem":"PyPI","name":"pybluemonday","purl":"pkg:pypi/pybluemonday","ranges":["<0.0.8"],"fixed":["0.0.8"]},{"ecosystem":"Go","name":"github.com/microcosm-cc/bluemonday","purl":"pkg:golang/github.com/microcosm-cc/bluemonday","ranges":["<1.0.16"],"fixed":["1.0.16"]}]},{"id":"GO-2022-0588","url":"https://osv.dev/vulnerability/GO-2022-0588","summary":"Cross-site scripting via leaked style elements in github.com/microcosm-cc/bluemonday","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"github.com/microcosm-cc/bluemonday","purl":"pkg:golang/github.com/microcosm-cc/bluemonday","ranges":["<1.0.16"],"fixed":["1.0.16"]}]},{"id":"PYSEC-2021-849","url":"https://osv.dev/vulnerability/PYSEC-2021-849","summary":"","modified":"2023-11-08T04:07:06.825297Z","packages":[{"ecosystem":"PyPI","name":"pybluemonday","purl":"pkg:pypi/pybluemonday","ranges":["<0.0.8"],"fixed":["0.0.8"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}