CVE-2026-126203: falha de média gravidade em flavorjones loofah
Loofah: Mutation XSS in the HTML5 scrubbers through unescaped attribute values
Publicada em
Aviso por e-mail quando ela entrar no KEV, ganhar PoC pública ou subir de nota.
13Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 6.1epss 0.3%
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. From 2.21.0 until 2.25.3, Loofah's HTML5 APIs Loofah.html5_fragment, Loofah.html5_document, and the scrub_html5_* methods can emit sanitized output that a browser reparses as different markup when used with Nokogiri before 1.19.5, because those Nokogiri versions do not escape angle brackets in attribute values. MathML can place markup inside an allowed attribute so the reparsed output becomes live HTML. The :strip scrubber is affected in every browser, while :prune and :escape are affected in WebKit browsers. Loofah's HTML4 APIs, Loofah::Helpers.sanitize, :whitewash, rails-html-sanitizer's default configuration, and JRuby are not affected. This issue is fixed in version 2.25.3.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Produtos afetados
flavorjones · loofahCVEs relacionadas — flavorjones loofah
No mesmo produto, das mais perigosas para as menos.
CVE-2022-23514HIGHInefficient Regular Expression Complexity in LoofahEPSS 1.8%CVE-2022-23516HIGHUncontrolled Recursion in LoofahEPSS 1.2%CVE-2022-23515MEDIUMImproper neutralization of data URIs may allow XSS in LoofahEPSS 0.9%CVE-2026-126206MEDIUMLoofah allowed_uri? treats data:text/html as safe text/plainEPSS 0.4%CVE-2026-126209MEDIUMLoofah allowed_uri? treats javascript: alert(1) as safeEPSS 0.4%CVE-2026-126205MEDIUMLoofah: Regular expression denial of service in the SVG local-reference checkEPSS 0.4%
Referências
https://github.com/flavorjones/loofah/commit/7ba1e7b77e043fb7dc832ef746fcbf83137135e6https://github.com/flavorjones/loofah/pull/324https://github.com/flavorjones/loofah/releases/tag/v2.25.3https://github.com/flavorjones/loofah/security/advisories/GHSA-h6v6-rg66-fqj4https://github.com/sparklemotion/nokogiri/commit/635abc8d65c75d594ddf8957fbfbfd822c2c0dbdhttps://github.com/sparklemotion/nokogiri/pull/3741https://github.com/sparklemotion/nokogiri/releases/tag/v1.19.5