Skip to content
OpenAdvisories
Critical · 9.8 CVE-2021-42576 EUVD-2021-0205GHSA-x95h-979x-cf3jGO-2022-0588PYSEC-2021-849

Policies not properly enforced in bluemonday

Published Oct 18, 2021 · Updated Aug 4, 2024 · Assigned by mitre

Description

The bluemonday sanitizer before 1.0.16 for Go, and before 0.0.8 for Python (in pybluemonday), does not properly enforce policies associated with the SELECT, STYLE, and OPTION elements.

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
Debian 14 golang-github-microcosm-cc-bluemonday 1.0.16-1 —
Debian 13 golang-github-microcosm-cc-bluemonday 1.0.16-1 —
Debian 12 golang-github-microcosm-cc-bluemonday 1.0.16-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS golang-github-microcosm-cc-bluemonday No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/microcosm-cc/bluemonday < 1.0.16 1.0.16 GHSA-x95h-979x-cf3j
PyPI pybluemonday < 0.0.8 0.0.8 PYSEC-2021-849

Advisories 1

References