THREAT OPS › Threat News › [GHSA] GHSA-p9wj-w8xq-vjx6 (medium) — Loofah allowed_uri? treats javascript: alert(1) as safe
[GHSA] GHSA-p9wj-w8xq-vjx6 (medium) — Loofah allowed_uri? treats javascript: alert(1) as safe
GHSA-p9wj-w8xq-vjx6 Severity: medium CVE: CVE-2026-126209
Loofah allowed_uri? treats javascript: alert(1) as safe
## Summary
`Loofah::HTML5::Scrub.allowed_uri?` returns `true` for a `javascript:` or `vbscript:` URI whose scheme is split by a numeric character reference without a trailing semicolon, followed by a character that `allowed_uri?` strips, such as a space or tab. A browser ends th
MITRE ATT&CK techniques
- JavaScriptT1059.007
Indicators of compromise
- CVE-2026-126209cve
Original source: https://github.com/advisories/GHSA-p9wj-w8xq-vjx6