{"id":"DEBIAN-CVE-2026-73492","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: or vbscript: URIs whose scheme is split by semicolon-less numeric character references such as &#58, &#9, &#10, or &#13. 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.","modified":"2026-09-10T08:47:31.326342661Z","published":"2026-08-12T22:17:16.527Z","upstream":["CVE-2026-73492"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-73492"}],"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-73492.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-73492.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-73492.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"}]}