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 :, 	, 
, or 
. 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.
CVSS
No CVSS.
References
Configurations
No configuration.
History
24 Oct 2026, 15:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary | (es) 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 URIs javascript_disabled: o vbscript: cuyo esquema está dividido por referencias de caracteres numéricos sin punto y coma como y #58, y #9, y #10, o y #13. CGI.unescapeHTML deja estas referencias codificadas, por lo que allowed_uri? informa que la URL es segura a pesar de que un navegador decodifica un colon codificado o elimina espacios en blanco codificados y ejecuta el esquema URI 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. |
23 Oct 2026, 19:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
Information
Published : 2026-08-12 22:17
Updated : 2026-10-24 15:10
NVD link : CVE-2026-73492
Mitre link : CVE-2026-73492
CVE.ORG link : CVE-2026-73492
JSON object : View
Products Affected
No product.
