Skip to content
Fencer Vulns
medium 4.7

CVE-2026-73490 json

Loofah: SVG `href` attribute bypasses local-reference restriction

published 2026-07-21 3 mo ago modified 2026-10-24 15 d ago also GHSA-9wjq-cp2p-hrgf , EUVD-2026-57626

cvss
4.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 22%
public exploits
0
none known

Summary

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.

Patch / fix

  • rubygems loofah 2.25.2
  • ruby-loofah Debian 14 2.25.2-1

debian advisories DEBIAN-CVE-2026-73490

  • hawk2 SLE High Availability Extension 16.0, SLES for SAP applications 16.0 2.7.2+git.1788518533.7d4dadd6-160000.1.1

suse advisories SUSE-SU-2026:24195-1SUSE-SU-2026:24250-1

  • hawk2 openSUSE Tumbleweed 2.7.2+git.1792148770.648dcddb-1.1
  • hawk2 openSUSE Leap 16.0 2.7.2+git.1788518533.7d4dadd6-160000.1.1

opensuse advisories openSUSE-SU-2026:12153-1openSUSE-SU-2026:22068-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-73490 updated cvss 4.7

loofah: Loofah: SVG `href` attribute bypasses local-reference restriction

  • Red Hat 3scale API Management Platform 2 3scale-amp2/zync-rhel9, 3scale-amp2/system-rhel8, 3scale-amp2/system-rhel9 Red Hat Satellite 6 tfm-rubygem-graphql, rubygem-loofah 2.22.0-1.el8sat, rubygem-loofah 2.24.1-1.el9sat
    affected: workaround, no fix available “Fix deferred”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 mo ago

Exploit prediction

0.30% chance of exploitation in the next 30 days, higher than 22% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 4.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub 3.1 4.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
rubygems loofah
<2.25.2
2.25.2

Affected products

  • flavorjones loofah

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.