Advisory

GHSA-x95h-979x-cf3j

Also known as: CVE-2021-42576, GO-2022-0588, PYSEC-2021-849

Summary

Policies not properly enforced in bluemonday

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-10-19 20:15 UTC
Modified
2024-10-21 20:24 UTC

Affected packages and fixes

pybluemonday

PyPI · All systems

Affected

  • introduced 0, fixed 0.0.8 (ecosystem)

Fixed versions

0.0.8

Fix

  • Fixed version 0.0.8
    pip install --upgrade pybluemonday==0.0.8

github.com/microcosm-cc/bluemonday

Go · All systems

Affected

  • introduced 0, fixed 1.0.16 (semver)

Fixed versions

1.0.16

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences