CVE-2026-73490
published 2026-08-12CVE-2026-73490: 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…
PriorityP426medium4.7CVSS 3.1
AVNACHPRNUIRSCCLILAN
EPSS
0.30%
21.1th percentile
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.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| flavorjones | loofah | < 2.25.2 | 2.25.2 |
CVSS provenance
nvdv3.14.7MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
vendor_redhat4.7MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
loofah: Loofah: SVG `href` attribute bypasses local-reference restriction
vendor_redhat·2026-08-12·CVSS 4.7
CVE-2026-73490 [MEDIUM] CWE-184 loofah: Loofah: SVG `href` attribute bypasses local-reference restriction
loofah: Loofah: SVG `href` attribute bypasses local-reference restriction
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.
A flaw was found in Loofah. The HTML5 sanitiz
VulDB
Flavorjones Loofah up to 2.25.1 HTML5 Sanitizer cross-domain policy
vuldb·2026-08-12·CVSS 4.7
CVE-2026-73490 [MEDIUM] Flavorjones Loofah up to 2.25.1 HTML5 Sanitizer cross-domain policy
A vulnerability has been found in Flavorjones Loofah up to 2.25.1 and classified as problematic. This affects an unknown function of the component HTML5 Sanitizer. This manipulation causes permissive cross-domain policy with untrusted domains.
This vulnerability is tracked as CVE-2026-73490. The attack is possible to be carried out remotely. No exploit exists.
The affected component should be upgraded.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-73490 rubygem-loofah: Loofah: SVG `href` attribute bypasses local-reference restriction [fedora-all]
bugzilla·2026-08-21·CVSS 4.7
CVE-2026-73490 [MEDIUM] CVE-2026-73490 rubygem-loofah: Loofah: SVG `href` attribute bypasses local-reference restriction [fedora-all]
CVE-2026-73490 rubygem-loofah: Loofah: SVG `href` attribute bypasses local-reference restriction [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
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 sc
Bugzilla
CVE-2026-73490 loofah: Loofah: SVG `href` attribute bypasses local-reference restriction
bugzilla·2026-08-12·CVSS 4.7
CVE-2026-73490 [MEDIUM] CVE-2026-73490 loofah: Loofah: SVG `href` attribute bypasses local-reference restriction
CVE-2026-73490 loofah: Loofah: SVG `href` attribute bypasses local-reference restriction
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.
2026-08-12
Published