Advisory

GHSA-2ghm-r75j-pjx2

Also known as: CVE-2023-49146

Summary

Cross-site Scripting in DOMSanitizer

Details

DOMSanitizer (aka dom-sanitizer) before 1.0.7 allows XSS via an SVG document because of mishandling of comments and greedy regular expressions.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-11-23 00:30 UTC
Modified
2024-02-16 08:04 UTC

Affected packages and fixes

rhukster/dom-sanitizer

Packagist · All systems

Affected

  • introduced 0, fixed 1.0.7 (ecosystem)

Fixed versions

1.0.7

Fix

The export has no generic command for this ecosystem.

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