{"id":"DEBIAN-CVE-2026-128069","details":"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.","modified":"2026-11-19T09:47:28.147164251Z","published":"2026-11-13T18:17:34.757Z","upstream":["CVE-2026-128069"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-128069"}],"affected":[{"package":{"name":"ruby-rails-html-sanitizer","ecosystem":"Debian:12","purl":"pkg:deb/debian/ruby-rails-html-sanitizer?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.4-1","1.6.2-1","1.6.2-1~exp1","1.7.0-1","1.7.0-2","1.7.1-1","1.7.2-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-128069.json"}},{"package":{"name":"ruby-rails-html-sanitizer","ecosystem":"Debian:13","purl":"pkg:deb/debian/ruby-rails-html-sanitizer?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.2-1","1.7.0-1","1.7.0-2","1.7.1-1","1.7.2-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-128069.json"}},{"package":{"name":"ruby-rails-html-sanitizer","ecosystem":"Debian:14","purl":"pkg:deb/debian/ruby-rails-html-sanitizer?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.2-1","1.7.0-1","1.7.0-2","1.7.1-1","1.7.2-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-128069.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}