PT-2026-146999

CVE-2026-128069

·

Published

2026-11-13

·

Updated

2026-11-18

Description by

CVSS 3.1
4.7
Medium
MetricsAV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions rails-html-sanitizer versions prior to 1.7.2
Description The HTML4 and HTML5 variants of Rails::HTML::SafeListSanitizer reuse a single Rails::HTML::PermitScrubber across calls and mutate its tags and attributes without synchronization. In multithreaded processes, concurrent calls to the sanitize() function using different tags: or attributes: options can interleave, causing one call to incorrectly use the allowlist of another. If a permissive call allows a script element or an event-handler attribute, output intended for a stricter policy may retain these elements, leading to cross-site scripting (XSS) when rendered. This issue specifically affects applications running multiple threads per process where sanitize is called with varying options.
Recommendations Update to version 1.7.2. Use the same allowlist for every sanitize() call. Pass a scrubber: instance created per call (using Rails::HTML::PermitScrubber.new with tags= and attributes= set) instead of using tags: and attributes: options.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-H7WH-Q2QR-458C
DHI-IHEC-5YJQ-YEMI-YNQZ
Found an issue in the description? Have something to add? Feel free to write us 👾