Description
bluemonday before 1.0.5 allows XSS because certain Go lowercasing converts an uppercase Cyrillic character, defeating a protection mechanism against the "script" string.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | golang-github-microcosm-cc-bluemonday | No fix yet | — |
| Ubuntu 18.04 LTS | golang-github-microcosm-cc-bluemonday | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | gitea | 1.13.7-r0 | — |
| Alpine v3.23 | gitea | 1.13.7-r0 | — |
| Alpine v3.22 | gitea | 1.13.7-r0 | — |
| Alpine v3.21 | gitea | 1.13.7-r0 | — |
| Alpine v3.20 | gitea | 1.13.7-r0 | — |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | gitea | 1.13.7-r0 | — |
| Alpine v3.18 | gitea | 1.13.7-r0 | — |
| Alpine v3.17 | gitea | 1.13.7-r0 | — |
| Alpine v3.16 | gitea | 1.13.7-r0 | — |
| Alpine v3.15 | gitea | 1.13.7-r0 | — |
| Alpine v3.14 | gitea | 1.13.7-r0 | — |
| Alpine v3.13 | gitea | 1.13.7-r0 | — |
| Alpine v3.12 | gitea | 1.13.7 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/microcosm-cc/bluemonday | < 1.0.5 | 1.0.5 | GHSA-3x58-xr87-2fcj |