Advisory

GHSA-pgjv-jrg2-gq3v

Also known as: None

Summary

dompurify vulnerable to Cross-site Scripting

Details

dompurify prior to version 2.2.2 is vulnerable to cross-site scripting when converting from SVG namespace.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-01-11 23:47 UTC
Modified
2023-01-11 23:47 UTC

Affected packages and fixes

dompurify

PyPI · All systems

Affected

  • introduced 0, fixed 2.2.2 (ecosystem)

Fixed versions

2.2.2

Fix

  • Fixed version 2.2.2
    pip install --upgrade dompurify==2.2.2

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