llamaCVEVulnerability Intelligence
/
Loofah

CVE-2026-126208

Loofah external reference bypass in SVG textPath and mpath

Remote attackers can make a viewer's browser fetch chosen URLs, exposing its IP address and reaching internal hosts.

Texto original en inglés · Ver en español

Parche disponiblecase-sensitivity bypass
Descargar PNG JSON
CVSS 3.1
4.7
Media
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -10 d de la divulgación
Exposición8 dDesde la divulgación, 12 nov 2026, 3:59 p. m.
Detección5 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche 2.25.3
Monitoreo
Detectada +2
Fuente: ENISA EUVD
Verificada
2 nov 26
12 nov 26
13 nov 26
16 nov 26
21 nov 26
2 nov 26
7 nov 26
11 nov 26
16 nov 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 2.25.3 loofah · -10 d desde divulgación
Divulgación Publicada CVE-2026-126208 divulgada · CVSS 4.7 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 12 nov 2026

Loofah, a Ruby library for sanitizing HTML and XML, fails to block some external references in SVG `textPath` and `mpath` elements, so content processed by it can still carry them. An attacker can reach this remotely without logging in, but a viewer must take an action such as rendering the content; in Firefox, that makes the viewer's browser fetch the attacker's URL, which can reveal the viewer's IP address and other details and reach hosts only on the viewer's network.

Descripción original del registro (GitHub_M)

Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Prior to 2.25.3, Loofah's SVG_ALLOW_LOCAL_HREF safelist lists textPath with lowercase spelling that does not match the HTML5 parser's element name and omits mpath, so external href and xlink:href values on those elements survive sanitization. Firefox fetches the attacker-chosen URL when a viewer renders the content, which can disclose the viewer's IP address, user agent, referrer, and access to hosts routable only from the viewer's network. Chrome and WebKit do not fetch these references, and the impact is a network request rather than script execution. The rails-html-sanitizer PermitScrubber reuses the affected safelist when SVG elements are permitted. This issue is fixed in version 2.25.3.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:R
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:L
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
loofah< 2.25.3
2.25.3
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
rubygemsloofah
Corregida 2.25.3 -10 d 2.25.3 no afectada
Versiones corregidas2.25.3
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/flavorjones/loofah/security/advisories/GHSA-345x-3rq2-jfrm
Otrahttps://github.com/flavorjones/loofah/pull/324
Otrahttps://github.com/flavorjones/loofah/commit/cdd6ff7fb51998eb181bd2da925ddbcfcc8a3b96
Otrahttps://github.com/flavorjones/loofah/releases/tag/v2.25.3

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.