CVE-2026-128069: falha de média gravidade em rails-html-sanitizer
rails-html-sanitizer: Possible XSS via shared scrubber state in concurrent calls
Publicada em · Atualizada 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 4.7epss 0.2%
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Before 1.7.2, the HTML4 and HTML5 variants of Rails::HTML::SafeListSanitizer reuse one Rails::HTML::PermitScrubber across calls and mutate its tags and attributes without synchronization. In a multithreaded process, concurrent sanitize calls using different tags: or attributes: options can interleave and cause one call to use the other call's allowlist. If a permissive call admits a script element or event-handler attribute, output expected to be sanitized under a stricter policy can retain it and cause cross-site scripting when rendered. Applications that are single-threaded, use one identical allowlist everywhere, or provide a separate scrubber: are not affected. This issue is fixed in version 1.7.2.
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Produtos afetados
rails · rails-html-sanitizerCVEs relacionadas — rails-html-sanitizer
No mesmo produto, das mais perigosas para as menos.
CVE-2022-23517HIGHInefficient Regular Expression Complexity in rails-html-sanitizerEPSS 1.6%CVE-2022-23520MEDIUMrails-html-sanitizer contains an incomplete fix for an XSS vulnerabilityEPSS 1.2%CVE-2022-23519HIGHPossible XSS vulnerability with certain configurations of rails-html-sanitizerEPSS 1.1%CVE-2022-23518MEDIUMImproper neutralization of data URIs allows XSS in rails-html-sanitizerEPSS 0.9%CVE-2024-53985LOWPossible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0EPSS 0.6%CVE-2026-73648MEDIUMrails-html-sanitizer: Possible XSS vulnerability with certain configurationsEPSS 0.5%
Referências
https://github.com/rails/rails-html-sanitizer/commit/15f764c3563d5dd9b97ad32eaa7454577ccec4b9https://github.com/rails/rails-html-sanitizer/issues/228https://github.com/rails/rails-html-sanitizer/releases/tag/v1.7.2https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-h7wh-q2qr-458c