{"schema_version":"1.9.2","id":"GO-2022-0762","published":"2021-05-18T21:07:37Z","modified":"2026-11-23T20:30:03.208107072Z","aliases":["CVE-2021-29272","GHSA-3x58-xr87-2fcj"],"summary":"Cross-site scripting due to incorrect sanitization in github.com/microcosm-cc/bluemonday","details":"An XSS injection was possible because the sanitization of the Cyrillic character i bypass a protection mechanism against user-inputted HTML elements such as the <script> tag.","affected":[{"package":{"name":"github.com/microcosm-cc/bluemonday","ecosystem":"Go","purl":"pkg:golang/github.com/microcosm-cc/bluemonday"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20171222150656-5793ebcff14d"},{"introduced":"0.0.0-20190711225452-876b4780bed1"},{"fixed":"0.0.0-20210327103112-524f142fe46e"},{"introduced":"1.0.3-0.20190711225452-876b4780bed1"},{"fixed":"1.0.5"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/microcosm-cc/bluemonday","symbols":["Policy.Sanitize","Policy.SanitizeBytes","Policy.SanitizeReader","Policy.sanitize"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2022-0762.json"}}],"references":[{"type":"FIX","url":"https://github.com/microcosm-cc/bluemonday/commit/524f142fe46e945b7dcd291d7805c4b7dcf75bee"},{"type":"WEB","url":"https://github.com/microcosm-cc/bluemonday/issues/111"},{"type":"WEB","url":"https://github.com/microcosm-cc/bluemonday/releases/tag/v1.0.5"}],"database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2022-0762"}}