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

- 種別: advisory
- 重大度: medium
- 関連技術: ruby, rails
- CVE: CVE-2026-128069
- 公開日時: 2026-11-13T18:09:16.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-h7wh-q2qr-458c)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-h7wh-q2qr-458c

影響: rubygems:rails-html-sanitizer < 1.7.2 → 1.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…