{"id":"CVE-2026-73491","sourceIdentifier":"security-advisories@github.com","published":"2026-08-12T21:17:42.273","lastModified":"2026-10-24T15:10:00.190","vulnStatus":"Awaiting Analysis","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Loofah es una biblioteca general para manipular y transformar documentos y fragmentos HTML/XML, construida sobre Nokogiri. Desde la versión 2.25.0 hasta la 2.25.2, Loofah::HTML5::Scrub.allowed_uri? no rechaza las URIs javascript_disabled: cuyo esquema está dividido o prefijado con las referencias de caracteres de espacio en blanco con nombre de HTML5  y Tab; o  y NewLine;. CGI.unescapeHTML deja esas referencias intactas, por lo que allowed_uri? informa que la URL es segura aunque un navegador decodifica y elimina la tabulación o el salto de línea y ejecuta la URL javascript_disabled: resultante. Este problema afecta solo a los llamadores que pasan cadenas codificadas en HTML directamente a allowed_uri?; la ruta sanitize() predeterminada de Loofah no se ve afectada. Este problema está solucionado en la versión 2.25.2."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"flavorjones","product":"loofah","versions":[{"version":">= 2.25.0, < 2.25.2","status":"affected"}]}]}],"metrics":{"cvssMetricV40":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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","baseScore":2.3,"baseSeverity":"LOW","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-08-13T13:49:09.263231Z","id":"CVE-2026-73491","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-184"}]}],"references":[{"url":"https://github.com/flavorjones/loofah/commit/5e91af861e3cdab47b91dd0b81f3afdfd13a5e19","source":"security-advisories@github.com"},{"url":"https://github.com/flavorjones/loofah/pull/308","source":"security-advisories@github.com"},{"url":"https://github.com/flavorjones/loofah/releases/tag/v2.25.2","source":"security-advisories@github.com"},{"url":"https://github.com/flavorjones/loofah/security/advisories/GHSA-8whx-365g-h9vv","source":"security-advisories@github.com"}]}