{"id":"CVE-2021-42576","published":"2021-10-18T14:36:43Z","modified":"2024-08-04T03:38:49Z","title":"The bluemonday sanitizer before 1.0.16 for Go, and before 0.0.8 for Python (in pybluemonday), does not properly…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01564,"percentile":0.7589,"provenance":"source"},"cwes":[],"references":[{"url":"https://docs.google.com/document/d/11SoX296sMS0XoQiQbpxc5pNxSdbJKDJkm5BDv0zrX50/","tags":["x_refsource_MISC"]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":15.18}]},"affected":[{"ecosystem":"PyPI","package":"pybluemonday","vulnerableRanges":["<0.0.8"],"patched":["0.0.8"],"from":["GHSA-x95h-979x-cf3j","PYSEC-2021-849"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/microcosm-cc/bluemonday","vulnerableRanges":["<1.0.16"],"patched":["1.0.16"],"from":["GHSA-x95h-979x-cf3j","GO-2022-0588"],"provenance":"source"}],"summary":{"text":"The bluemonday HTML sanitizer, before version 1.0.16 for Go and before 0.0.8 for Python (the pybluemonday package), fails to properly enforce its policies for the SELECT, STYLE, and OPTION elements. Because the stated record gives no attack vector, authentication, interaction, or configuration details, the specific conditions under which an attacker could exploit this flaw cannot be determined from the available information.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:07Z"},"euvd":{"id":"EUVD-2021-0205","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-github-com-microcosm-cc-bluemonday-cve-2021-29272","parents":[{"from":"CVE-2021-29272","to":"CVE-2021-42576","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/microcosm-cc/bluemonday","fromFixed":"1.0.5","toFixed":"1.0.16","daysApart":205},{"kind":"same-code","provenance":"machine","files":["sanitize.go"],"commits":["https://github.com/microcosm-cc/bluemonday/commit/524f142fe46e945b7dcd291d7805c4b7dcf75bee","https://github.com/microcosm-cc/bluemonday/commit/c788a2a4d42e081ad54a31368478820bb4a42fb4"],"basis":"shared function","functions":["sanitize"]}]}],"packageHistory":[{"cve":"CVE-2021-29272","published":"2021-03-27","fixed":"1.0.5","kev":false},{"cve":"CVE-2021-42576","published":"2021-10-18","fixed":"1.0.16","kev":false}],"package":"Go:github.com/microcosm-cc/bluemonday"}}