Advisory

GHSA-gx9m-whjm-85jf

Also known as: CVE-2024-47875

Summary

DOMpurify has a nesting-based mXSS

Details

DOMpurify was vulnerable to nesting-based mXSS

fixed by 0ef5e537 (2.x) and
merge 943

Backporter should be aware of GHSA-mmhx-hmjr-r674 (CVE-2024-45801) when cherry-picking

POC is avaible under test

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-10-11 17:27 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

dompurify

npm · All systems

Affected

  • introduced 0, fixed 2.5.0 (semver)

Fixed versions

2.5.0

Fix

dompurify

npm · All systems

Affected

  • introduced 3.0.0, fixed 3.1.3 (semver)

Fixed versions

3.1.3

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