THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-h6v6-rg66-fqj4 (medium) — Loofah: Mutation XSS in the HTML5 scrubbers through unescaped attribute values

[GHSA] GHSA-h6v6-rg66-fqj4 (medium) — Loofah: Mutation XSS in the HTML5 scrubbers through unescaped attribute values

medgithub_advisoriesPublished 2026-11-12

GHSA-h6v6-rg66-fqj4 Severity: medium CVE: CVE-2026-126203

Loofah: Mutation XSS in the HTML5 scrubbers through unescaped attribute values

## Summary

Loofah's HTML5 scrubbers could emit output that a browser parses into different markup, allowing mutation XSS. Nokogiri < 1.19.5 did not escape `<` and `>` in attribute values. When the output contained certain MathML, a browser treated markup insid

Indicators of compromise

Original source: https://github.com/advisories/GHSA-h6v6-rg66-fqj4