Go Vulnerability Database
GO-2022-0762
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/microcosm-cc/bluemonday | All versions before 0.0.0-20171222150656-5793ebcff14d (fixed in 0.0.0-20171222150656-5793ebcff14d) From 0.0.0-20190711225452-876b4780bed1 before 0.0.0-20210327103112-524f142fe46e (fixed in 0.0.0-20210327103112-524f142fe46e) From 1.0.3-0.20190711225452-876b4780bed1 before 1.0.5 (fixed in 1.0.5) |