{"id":"CVE-2026-73492","published":"2026-08-12T21:00:24Z","modified":"2026-08-14T22:18:10Z","title":"Loofah `allowed_uri?` does not detect `javascript:` URIs split by numeric character references without semicolons","vendor":"flavorjones","product":"loofah","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.3,"severity":"LOW","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00394,"percentile":0.2525,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"}],"references":[{"url":"https://github.com/flavorjones/loofah/security/advisories/GHSA-5qhf-9phg-95m2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/flavorjones/loofah/pull/308","tags":["x_refsource_MISC"]},{"url":"https://github.com/flavorjones/loofah/commit/f1be9d893b5a8dd79240441a912d8897e74c38c0","tags":["x_refsource_MISC"]},{"url":"https://github.com/flavorjones/loofah/releases/tag/v2.25.2","tags":["x_refsource_MISC"]}],"priority":{"score":6.7,"factors":[{"name":"EPSS percentile","points":5.05},{"name":"CVSS severity","points":1.61}]},"vendorSlug":"flavorjones","affectedVersions":[{"vendor":"flavorjones","product":"loofah","versions":[">= 2.25.0, < 2.25.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-14T22:17:58.982852Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-57629","exploited":false,"provenance":"source"}}