{"id":"GO-2022-0762","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 \u003cscript\u003e tag.","aliases":["CVE-2021-29272","GHSA-3x58-xr87-2fcj"],"modified":"2024-05-20T16:03:47Z","published":"2021-05-18T21:07:37Z","database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2022-0762"},"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"}],"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":"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"}}],"schema_version":"1.7.3"}