{"id":"DEBIAN-CVE-2026-73491","details":"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: URIs whose scheme is split or prefixed with the HTML5 named whitespace character references &Tab; or &NewLine;. CGI.unescapeHTML leaves those references intact, so allowed_uri? reports the URL safe even though a browser decodes and strips the tab or line feed and executes the resulting javascript: URL. 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.","modified":"2026-09-10T08:47:34.113555482Z","published":"2026-08-12T21:17:42.273Z","upstream":["CVE-2026-73491"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-73491"}],"affected":[{"package":{"name":"ruby-loofah","ecosystem":"Debian:12","purl":"pkg:deb/debian/ruby-loofah?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.19.1-1","2.20.0-1","2.21.3-1","2.21.4-1","2.22.0-1","2.24.0-1","2.24.1-1","2.25.0-1","2.25.1-1","2.25.1-2","2.25.2-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-73491.json"}},{"package":{"name":"ruby-loofah","ecosystem":"Debian:13","purl":"pkg:deb/debian/ruby-loofah?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.24.0-1","2.24.1-1","2.25.0-1","2.25.1-1","2.25.1-2","2.25.2-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-73491.json"}},{"package":{"name":"ruby-loofah","ecosystem":"Debian:14","purl":"pkg:deb/debian/ruby-loofah?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.25.2-1"}]}],"versions":["2.24.0-1","2.24.1-1","2.25.0-1","2.25.1-1","2.25.1-2"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-73491.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}