{"schemaVersion":3,"id":"CVE-2026-73492","aliases":["UBUNTU-CVE-2026-73492","DEBIAN-CVE-2026-73492","GHSA-5qhf-9phg-95m2"],"status":"published","duplicateOf":null,"title":"Loofah `allowed_uri?` does not detect `javascript:` URIs split by numeric character references without semicolons","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 &#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.","dates":{"published":"2026-08-12T21:00:24.679Z","modified":"2026-08-14T22:18:10.839Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":2.3,"severity":"low","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":2.3,"severity":"low","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":2.3,"severity":"low","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":2.3,"severity":"low","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/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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Rubygems","score":2.3,"severity":"low","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":2.3,"severity":"low","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/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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00394,"percentile":0.32462,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0.149,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.00245},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00245,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00245,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00245,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00245,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00245,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00245,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00245,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00245,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00245,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00245,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00394,"percentile":0.32462}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00245,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00245,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00394,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00394,"percentile":0.32462}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs","description":"The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/184.html"}],"affected":[{"vendor":"debian","product":"ruby-loofah","name":"ruby-loofah","label":"ruby-loofah","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ruby-loofah","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.25.2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.25.2-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ruby-loofah","name":"ruby-loofah","label":"ruby-loofah","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ruby-loofah","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"flavorjones","product":"loofah","name":"loofah","label":"loofah","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.25.0, < 2.25.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.25.0, < 2.25.2","eol":null,"hubHref":"/vendor/flavorjones/loofah"},{"vendor":"RubyGems","product":"loofah","name":"loofah","label":"loofah","ecosystem":"RubyGems","cpePart":null,"purl":"pkg:gem/loofah","purlType":"gem","versions":[{"text":"≥ 2.25.0, < 2.25.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.25.0, < 2.25.2","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/flavorjones/loofah/security/advisories/GHSA-5qhf-9phg-95m2","label":"github.com/flavorjones/loofah/security/advisories/GHSA-5qhf-9phg-95m2","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB"]},{"url":"https://github.com/flavorjones/loofah/pull/308","label":"github.com/flavorjones/loofah/pull/308","hostname":"github.com","tags":["X Refsource MISC","REPORT"]},{"url":"https://github.com/flavorjones/loofah/commit/f1be9d893b5a8dd79240441a912d8897e74c38c0","label":"github.com/flavorjones/loofah/commit/f1be9d893b5a8dd79240441a912d8897e74c38c0","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB"]},{"url":"https://github.com/flavorjones/loofah/releases/tag/v2.25.2","label":"github.com/flavorjones/loofah/releases/tag/v2.25.2","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB"]},{"url":"https://ubuntu.com/security/CVE-2026-73492","label":"ubuntu.com/security/CVE-2026-73492","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-73492","label":"www.cve.org/CVERecord?id=CVE-2026-73492","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-73492","label":"security-tracker.debian.org/tracker/CVE-2026-73492","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/flavorjones/loofah","label":"github.com/flavorjones/loofah","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:12153-1","OPENSUSE-SU-2026:22068-1","SUSE-SU-2026:24195-1","SUSE-SU-2026:24250-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:12153-1","OPENSUSE-SU-2026:22068-1","SUSE-SU-2026:24195-1","SUSE-SU-2026:24250-1"]},"timeline":[{"kind":"published","date":"2026-08-12T21:00:24.679Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-14T22:18:10.839Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":9,"level":"minimal","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T19:31:22.479Z","stale":false,"partial":false}}