DescriptionThere 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.
Overall state of this security issue: Pending
This issue is currently rated as having moderate severity.
|National Vulnerability Database|
|National Vulnerability Database||SUSE|
- SUSE-SU-2018:1082-1, published Thu Apr 26 07:07:14 MDT 2018
List of released packages
|Product(s)||Fixed package version(s)||References|
|SUSE CaaS Platform ALL|| ||Patchnames:
|SUSE Linux Enterprise High Availability 15|| ||Patchnames:
SUSE Linux Enterprise High Availability 15 GA ruby2.5-rubygem-rails-html-sanitizer
Status of this issue by product and package
Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.
|SUSE Openstack Cloud 6||rubygem-rails-html-sanitizer||Affected|
|SUSE Openstack Cloud 7||rubygem-rails-html-sanitizer||Affected|
|SUSE Storage 3||rubygem-rails-html-sanitizer||Affected|
|SUSE Storage 4||rubygem-rails-html-sanitizer||Affected|