rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Versions >= 1.0.3, < 1.4.4 are vulnerable to cross-site scripting via data URIs when used in combination with Loofah >= 2.1.0. This issue is patched in version 1.4.4.
2022-12-14T17:15:10.713
2025-11-03T22:15:56.533
Modified
CVSSv3.1: 6.1 (MEDIUM)
| Type | Vendor | Product | Version/Range | Vulnerable? |
|---|---|---|---|---|
| Application | rubyonrails | rails_html_sanitizers | < 1.4.4 | Yes |
| Operating System | debian | debian_linux | 10.0 | Yes |
| Application | loofah_project | loofah | < 2.19.1 | Yes |