CVE-2026-73490Loofah: SVG `href` attribute bypasses local-reference restriction
Updated under an hour ago ()
Does this affect you?
It affects flavorjones loofah. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Prior to 2.25.2, Loofah's HTML5 sanitizer applies its local-reference restriction only to the xlink:href attribute on SVG use and feImage elements, while browsers also accept the plain href attribute. A crafted sanitized SVG can therefore reference an arbitrary same-origin external document; use may render external SVG content containing scripts or other dangerous content, and feImage may load external images for tracking. Applications that sanitize user-supplied SVG with Loofah's default allowlist are affected. This issue is fixed in version 2.25.2.
- CVSS
- 4.7 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weakness (CWE)
- CWE-79
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Awaiting Analysis
- Record last updated
- Aug 13, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
flavorjones loofah flavorjones:loofah (from the name) | before 2.25.2 | CNA record |
References
- https://github.com/flavorjones/loofah/security/advisories/GHSA-9wjq-cp2p-hrgfx-refsource-confirm
- https://github.com/flavorjones/loofah/pull/308x-refsource-misc
- https://github.com/flavorjones/loofah/commit/20867b9be689521887364b74822c41ef830523c9x-refsource-misc
- https://github.com/flavorjones/loofah/releases/tag/v2.25.2x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.