Skip to content
OpenAdvisories
Medium · 6.1 CVE-2021-29272 EUVD-2021-0925GHSA-3x58-xr87-2fcjGO-2022-0762

Cross-site scripting in bluemonday

Published Mar 27, 2021 · Updated Aug 3, 2024 · Assigned by mitre

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.

ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS golang-github-microcosm-cc-bluemonday No fix yet —
Ubuntu 18.04 LTS golang-github-microcosm-cc-bluemonday No fix yet —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
Go github.com/microcosm-cc/bluemonday < 1.0.5 1.0.5 GHSA-3x58-xr87-2fcj

References