
CVE catalog
CVE-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 sanitizer applies its local-reference restrict
- Severity
- Medium · CVSS 4.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.30% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby-loofah | sid | 2.25.2-1 | fixed |
| Debian | ruby-loofah | forky | 2.25.2-1 | fixed |
| Debian | ruby-loofah | trixie | 2.24.0-1 | vulnerable |
| Debian | ruby-loofah | bookworm | 2.19.1-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby-loofah | source | sid | 2.25.2-1 | not yet assigned | Not reported | Not reported |
| Debian | ruby-loofah | source | forky | 2.25.2-1 | not yet assigned | Not reported | Not reported |
| Debian | ruby-loofah | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | ruby-loofah | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
Notes
[trixie] ruby-loofah: Minor issue [bookworm] ruby-loofah: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ruby-loofah]Affected
Details (2)
2.19.1-1· all · bookwormAffected
nvd · ruby-loofah · debian · bookworm; nvd · ruby-loofah · debian · 12
2.19.1-1· all · bookwormAffected
nvd · ruby-loofah · debian · bookworm; nvd · ruby-loofah · debian · 12
[Debian 13 (Trixie)]
- [ruby-loofah]Affected
Details (2)
2.24.0-1· all · trixieAffected
nvd · ruby-loofah · debian · 13
2.24.0-1· all · trixieAffected
nvd · ruby-loofah · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_22068-1.json]
- [https://github.com/flavorjones/loofah/commit/20867b9be689521887364b74822c41ef830523c9]
- [https://github.com/flavorjones/loofah/pull/308]
- [https://github.com/flavorjones/loofah/releases/tag/v2.25.2]
- [https://github.com/flavorjones/loofah/security/advisories/GHSA-9wjq-cp2p-hrgf]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-73490]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-73490]
- [https://security-tracker.debian.org/tracker/CVE-2026-73490]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-73490.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]