{"apiVersion":"1.0","identifier":"CVE-2026-73491","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: 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.","publishedAt":"2026-08-12T21:17:42","lastModifiedAt":"2026-08-13T15:20:16","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-73491","cvssScore":2.3,"cvssVector":"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","epssProbability":0.00245,"riskScore":0.24,"affectedProduct":"Loofah","affectedVersions":">=2.25.0,<2.25.2","vulnerabilityType":"Library","operatingSystems":[],"links":{"self":"https://www.redsauce.net/api/cves/CVE-2026-73491","webPages":{"es":"https://www.redsauce.net/es/cves/CVE-2026-73491","en":"https://www.redsauce.net/en/cves/CVE-2026-73491","fr":"https://www.redsauce.net/fr/cves/CVE-2026-73491","pt":"https://www.redsauce.net/pt/cves/CVE-2026-73491","de":"https://www.redsauce.net/de/cves/CVE-2026-73491","sk":"https://www.redsauce.net/sk/cves/CVE-2026-73491","el":"https://www.redsauce.net/el/cves/CVE-2026-73491"},"source":"https://nvd.nist.gov/vuln/detail/CVE-2026-73491"}}