CVE-2026-73492 Loofah `allowed_uri?` does not detect `javascript:` URIs split by numeric character references without semicolons
- 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. From 2.25.0 until 2.25.2, Loofah::HTML5::Scrub.allowed_uri? does not reject javascript: or vbscript: URIs whose scheme is split by semicolon-less numeric character references such as :, 	, 
, or 
. CGI.unescapeHTML leaves these references encoded, so allowed_uri? reports the URL safe even though a browser decodes an encoded colon or strips encoded whitespace and executes the resulting URI scheme. This issue affects only callers that pass HTML-encoded strings directly to allowed_uri?; Loofah's default sanitize() path is not affected. This issue is fixed in version 2.25.2.
Upgrade path
10 packages: 2 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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/rubygem-loofah(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.0; = 2.25.1; >= 2.25.0, < 2.25.2 | 2.25.2 | Fixed |
| flavorjones loofah | = >= 2.25.0, < 2.25.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems loofah(RubyGems) | >= 2.25.0, < 2.25.2 | 2.25.2 |
| rubygems loofah(RubyGems) | = 2.25.0 | No fix listed |
| rubygems loofah(RubyGems) | = 2.25.1 | No fix listed |
| flavorjones loofah | = >= 2.25.0, < 2.25.2 | No fix listed |
| redhat/3scale-amp2/system-rhel8(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 |
| 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 |
Show 11 more
| Product | Affected versions | Fixed in |
|---|---|---|
| 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
- https://github.com/flavorjones/loofah/security/advisories/GHSA-5qhf-9phg-95m2 vendor-advisory
- https://github.com/flavorjones/loofah/commit/f1be9d893b5a8dd79240441a912d8897e74c38c0 patch
- github.com product
- https://github.com/flavorjones/loofah/releases/tag/v2.25.2
- https://github.com/flavorjones/loofah/pull/308
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2515000 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com
- Debian Security Tracker CVE-2026-73492 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-57629 third-party-advisory