THREAT OPS › Threat News › [GHSA] GHSA-jcff-cj73-4w4f (medium) — Loofah allowed_uri? treats data:text/html as safe text/plain
[GHSA] GHSA-jcff-cj73-4w4f (medium) — Loofah allowed_uri? treats data:text/html as safe text/plain
GHSA-jcff-cj73-4w4f Severity: medium CVE: CVE-2026-126206
Loofah allowed_uri? treats data:text/html as safe text/plain
## Summary
`Loofah::HTML5::Scrub.allowed_uri?` returns `true` for a `data:` URI whose mediatype is written with the HTML5 named character reference `/` in place of the solidus. Loofah reads that mediatype as malformed and falls back to the allowed `text/plain`, while a
Indicators of compromise
- CVE-2026-126206cve
Original source: https://github.com/advisories/GHSA-jcff-cj73-4w4f