Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
rails rails-html-sanitizer
>= 1.0.3, < 1.4.4affected
References
- https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-mcvf-2q2m-x72m ↗
- https://github.com/rails/rails-html-sanitizer/issues/135 ↗
- https://hackerone.com/reports/1694173 ↗
- https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html ↗
- https://lists.debian.org/debian-lts-announce/2024/09/msg00045.html ↗