Vulnerability
CVE-2026-128069
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.
36 advisories report this vulnerability, across 5 ecosystems.
Advisories
- CGA-3fjm-43v2-m52v
- CGA-3h8f-c3jh-q9wx
- CGA-3mqh-98hh-5fcv
- CGA-6355-4hj9-f44q
- CGA-695f-mx22-8r39
- CGA-6gpw-47m8-5wq8
- CGA-6x3m-9rh9-574w
- CGA-75c8-g52f-3vv3
- CGA-7fpm-r5jh-m54g
- CGA-96cv-69j6-3g9x
- CGA-9jw8-4vx4-qfh7
- CGA-9qwv-xphc-9jrx
- CGA-crrp-cwqq-cmwh
- CGA-f74m-p2r9-w365
- CGA-fv22-mj4h-jrx4
- CGA-g92q-c642-vh69
- CGA-gvqc-pm7m-qxqq
- CGA-h3qf-cfh5-pcqj
- CGA-hgfm-rv8x-q2jp
- CGA-j5x4-7vgj-r48h
- CGA-jrff-3gcg-2fxg
- CGA-mjv9-m3q6-c9hr
- CGA-mp4w-mc6j-29p7
- CGA-mxm8-h94q-c7cj
- CGA-pwfr-48m9-6whm
- CGA-q7h7-mg5m-7fr6
- CGA-qh5j-wmcx-hh35
- CGA-qqmj-gvf9-933c
- CGA-qxrg-mvg8-jprx
- CGA-rmrf-9m8w-6hjp
- CGA-xcjp-8qf3-v2fq
- CGA-xpc5-2cxr-xhh3
-
DEBIAN-CVE-2026-128069
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…
-
GHSA-h7wh-q2qr-458c
rails-html-sanitizer: Possible XSS via shared scrubber state in concurrent calls
-
SUSEVEX-CVE-2026-128069
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…
-
UBUNTU-CVE-2026-128069
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…