← Vulnerabilities

MediumAdvisoryRubyRuby on Rails

rails-html-sanitizer: Possible XSS via shared scrubber state in concurrent calls

Affected

PackageAffected versionsFixed in
rubygems:rails-html-sanitizer< 1.7.21.7.2

Rails::HTML::SafeListSanitizer (both the HTML4 and HTML5 variants) shares one Rails::HTML::PermitScrubber across every sanitize call on the same instance, assigning its tags and attributes on each call without synchronization. Two concurrent sanitize calls with different tags: or attributes: options can interleave, so one call is scrubbed with the other call's allowlist. - Versions affected: < 1.7.2 - Not affected: none - Fixed versions: 1.7.2 Impact Action View memoizes a single SafeListSaniti…

Read on GitHub Advisory Database

On 11/14/2026, 03:09 AM, GitHub Advisory Database published "rails-html-sanitizer: Possible XSS via shared scrubber state in concurrent calls" (type: Advisory). Severity is "Medium" (medium). Related technologies: Ruby, Ruby on Rails. CVE: CVE-2026-128069.