THREAT OPS › Threat News › [GHSA] GHSA-345x-3rq2-jfrm (medium) — Loofah: SVG `<textPath>` and `<mpath>` bypass local-reference restriction
[GHSA] GHSA-345x-3rq2-jfrm (medium) — Loofah: SVG `<textPath>` and `<mpath>` bypass local-reference restriction
GHSA-345x-3rq2-jfrm Severity: medium CVE: CVE-2026-126208
Loofah: SVG `<textPath>` and `<mpath>` bypass local-reference restriction
## Summary
Loofah restricts `href` and `xlink:href` on certain SVG elements to same-document references. Two elements escaped the restriction:
- `<textPath>`: `SVG_ALLOW_LOCAL_HREF` listed it in lowercase as `textpath`, but the HTML5 parser names the element `text
Indicators of compromise
- CVE-2026-126208cve
Original source: https://github.com/advisories/GHSA-345x-3rq2-jfrm