Cross-site Scripting (XSS) Affecting ruby-rails-html-sanitizer package, versions *
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN9-RUBYRAILSHTMLSANITIZER-365088
- published 30 Mar 2018
- disclosed 30 Mar 2018
Introduced: 30 Mar 2018
CVE-2018-3741 Open this link in a new tabHow to fix?
There is no fixed version for Debian:9 ruby-rails-html-sanitizer.
NVD Description
Note: Versions mentioned in the description apply only to the upstream ruby-rails-html-sanitizer package and not the ruby-rails-html-sanitizer package as distributed by Debian.
See How to fix? for Debian:9 relevant fixed versions and status.
There is a possible XSS vulnerability in all rails-html-sanitizer gem versions below 1.0.4 for Ruby. The gem allows non-whitelisted attributes to be present in sanitized output when input with specially-crafted HTML fragments, and these attributes can lead to an XSS attack on target applications. This issue is similar to CVE-2018-8048 in Loofah. All users running an affected release should either upgrade or use one of the workarounds immediately.