Skip to content

CVE-2026-73490 Loofah: SVG `href` attribute bypasses local-reference restriction

MediumCVSS 4.7 EPSS 0.30%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

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.

Upgrade path

15 packages: 2 fixed, 12 with no fix yet.

PackageAffectedFixed inStatus
debian/ruby-loofah(Debian 12) = 2.19.1-1; = 2.20.0-1; = 2.21.3-1; = 2.21.4-1 +8 more No fix listed No fix yet
debian/ruby-loofah(Debian 13) = 2.24.0-1; = 2.24.1-1; = 2.25.0-1; = 2.25.1-1 +3 more No fix listed No fix yet
redhat/3scale-amp2/system-rhel8(Red Hat 3scale 2.13) All versions No fix listed No fix yet
redhat/3scale-amp2/system-rhel9(Red Hat 3scale 2.13) All versions No fix listed No fix yet
redhat/3scale-amp2/zync-rhel9(Red Hat 3scale 2.13) All versions No fix listed No fix yet
redhat/rubygem-loofah(Red Hat satellite 6) All versions No fix listed No fix yet
redhat/satellite:el8/rubygem-loofah(Red Hat satellite 6) All versions No fix listed No fix yet
redhat/tfm-rubygem-graphql(Red Hat satellite 6) All versions No fix listed No fix yet
ubuntu/ruby-loofah(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/ruby-loofah(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/ruby-loofah(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/ruby-loofah(Ubuntu 26.10) All versions No fix listed No fix yet
debian/ruby-loofah(Debian 14) < 2.25.2-1; = 2.24.0-1; = 2.24.1-1; = 2.25.0-1 +2 more 2.25.2-1 Fixed
rubygems loofah(RubyGems) < 2.25.2; = 0.2.0; = 0.2.1; = 0.2.2 +61 more 2.25.2 Fixed
flavorjones loofah = < 2.25.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
rubygems loofah(RubyGems) < 2.25.2 2.25.2
rubygems loofah(RubyGems) = 0.2.0 No fix listed
rubygems loofah(RubyGems) = 0.2.1 No fix listed
rubygems loofah(RubyGems) = 0.2.2 No fix listed
rubygems loofah(RubyGems) = 0.3.0 No fix listed
rubygems loofah(RubyGems) = 0.3.1 No fix listed
rubygems loofah(RubyGems) = 0.4.0 No fix listed
rubygems loofah(RubyGems) = 0.4.1 No fix listed
rubygems loofah(RubyGems) = 0.4.2 No fix listed
rubygems loofah(RubyGems) = 0.4.3 No fix listed
rubygems loofah(RubyGems) = 0.4.4 No fix listed
rubygems loofah(RubyGems) = 0.4.5 No fix listed
rubygems loofah(RubyGems) = 0.4.6 No fix listed
rubygems loofah(RubyGems) = 0.4.7 No fix listed
rubygems loofah(RubyGems) = 1.0.0 No fix listed
rubygems loofah(RubyGems) = 1.0.0.beta.1 No fix listed
rubygems loofah(RubyGems) = 1.1.0 No fix listed
rubygems loofah(RubyGems) = 1.2.0 No fix listed
rubygems loofah(RubyGems) = 1.2.1 No fix listed
rubygems loofah(RubyGems) = 2.0.0 No fix listed
rubygems loofah(RubyGems) = 2.0.1 No fix listed
rubygems loofah(RubyGems) = 2.0.2 No fix listed
rubygems loofah(RubyGems) = 2.0.3 No fix listed
rubygems loofah(RubyGems) = 2.1.0 No fix listed
rubygems loofah(RubyGems) = 2.1.0.rc1 No fix listed
Show 76 more
ProductAffected versionsFixed in
rubygems loofah(RubyGems) = 2.1.0.rc2 No fix listed
rubygems loofah(RubyGems) = 2.1.1 No fix listed
rubygems loofah(RubyGems) = 2.10.0 No fix listed
rubygems loofah(RubyGems) = 2.11.0 No fix listed
rubygems loofah(RubyGems) = 2.12.0 No fix listed
rubygems loofah(RubyGems) = 2.13.0 No fix listed
rubygems loofah(RubyGems) = 2.14.0 No fix listed
rubygems loofah(RubyGems) = 2.15.0 No fix listed
rubygems loofah(RubyGems) = 2.16.0 No fix listed
rubygems loofah(RubyGems) = 2.17.0 No fix listed
rubygems loofah(RubyGems) = 2.18.0 No fix listed
rubygems loofah(RubyGems) = 2.19.0 No fix listed
rubygems loofah(RubyGems) = 2.19.1 No fix listed
rubygems loofah(RubyGems) = 2.2.0 No fix listed
rubygems loofah(RubyGems) = 2.2.1 No fix listed
rubygems loofah(RubyGems) = 2.2.2 No fix listed
rubygems loofah(RubyGems) = 2.2.3 No fix listed
rubygems loofah(RubyGems) = 2.20.0 No fix listed
rubygems loofah(RubyGems) = 2.21.0 No fix listed
rubygems loofah(RubyGems) = 2.21.0.rc1 No fix listed
rubygems loofah(RubyGems) = 2.21.1 No fix listed
rubygems loofah(RubyGems) = 2.21.2 No fix listed
rubygems loofah(RubyGems) = 2.21.3 No fix listed
rubygems loofah(RubyGems) = 2.21.4 No fix listed
rubygems loofah(RubyGems) = 2.22.0 No fix listed
rubygems loofah(RubyGems) = 2.23.0 No fix listed
rubygems loofah(RubyGems) = 2.23.1 No fix listed
rubygems loofah(RubyGems) = 2.24.0 No fix listed
rubygems loofah(RubyGems) = 2.24.1 No fix listed
rubygems loofah(RubyGems) = 2.25.0 No fix listed
rubygems loofah(RubyGems) = 2.25.1 No fix listed
rubygems loofah(RubyGems) = 2.3.0 No fix listed
rubygems loofah(RubyGems) = 2.3.1 No fix listed
rubygems loofah(RubyGems) = 2.4.0 No fix listed
rubygems loofah(RubyGems) = 2.5.0 No fix listed
rubygems loofah(RubyGems) = 2.6.0 No fix listed
rubygems loofah(RubyGems) = 2.7.0 No fix listed
rubygems loofah(RubyGems) = 2.8.0 No fix listed
rubygems loofah(RubyGems) = 2.9.0 No fix listed
rubygems loofah(RubyGems) = 2.9.1 No fix listed
flavorjones loofah = < 2.25.2 No fix listed
redhat/3scale-amp2/system-rhel8(Red Hat:3scale:2.13) All versions No fix listed
redhat/3scale-amp2/system-rhel9(Red Hat:3scale:2.13) All versions No fix listed
redhat/3scale-amp2/zync-rhel9(Red Hat:3scale:2.13) All versions No fix listed
redhat/rubygem-loofah(Red Hat:satellite:6) All versions No fix listed
redhat/satellite:el8/rubygem-loofah(Red Hat:satellite:6) All versions No fix listed
redhat/tfm-rubygem-graphql(Red Hat:satellite:6) All versions No fix listed
debian/ruby-loofah(Debian:12) All versions No fix listed
debian/ruby-loofah(Debian:12) = 2.19.1-1 No fix listed
debian/ruby-loofah(Debian:12) = 2.20.0-1 No fix listed
debian/ruby-loofah(Debian:12) = 2.21.3-1 No fix listed
debian/ruby-loofah(Debian:12) = 2.21.4-1 No fix listed
debian/ruby-loofah(Debian:12) = 2.22.0-1 No fix listed
debian/ruby-loofah(Debian:12) = 2.24.0-1 No fix listed
debian/ruby-loofah(Debian:12) = 2.24.1-1 No fix listed
debian/ruby-loofah(Debian:12) = 2.25.0-1 No fix listed
debian/ruby-loofah(Debian:12) = 2.25.1-1 No fix listed
debian/ruby-loofah(Debian:12) = 2.25.1-2 No fix listed
debian/ruby-loofah(Debian:12) = 2.25.2-1 No fix listed
debian/ruby-loofah(Debian:13) All versions No fix listed
debian/ruby-loofah(Debian:13) = 2.24.0-1 No fix listed
debian/ruby-loofah(Debian:13) = 2.24.1-1 No fix listed
debian/ruby-loofah(Debian:13) = 2.25.0-1 No fix listed
debian/ruby-loofah(Debian:13) = 2.25.1-1 No fix listed
debian/ruby-loofah(Debian:13) = 2.25.1-2 No fix listed
debian/ruby-loofah(Debian:13) = 2.25.2-1 No fix listed
debian/ruby-loofah(Debian:14) < 2.25.2-1 2.25.2-1
debian/ruby-loofah(Debian:14) = 2.24.0-1 No fix listed
debian/ruby-loofah(Debian:14) = 2.24.1-1 No fix listed
debian/ruby-loofah(Debian:14) = 2.25.0-1 No fix listed
debian/ruby-loofah(Debian:14) = 2.25.1-1 No fix listed
debian/ruby-loofah(Debian:14) = 2.25.1-2 No fix listed
ubuntu/ruby-loofah(Ubuntu:22.04) All versions No fix listed
ubuntu/ruby-loofah(Ubuntu:24.04) All versions No fix listed
ubuntu/ruby-loofah(Ubuntu:26.04) All versions No fix listed
ubuntu/ruby-loofah(Ubuntu:26.10) All versions No fix listed

References