Vulnerability

CVE-2018-3741

mediumCVSS 3.1 6.1Published 30 Mar 2018

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Ruby on Rails html sanitizer

Weakness type

References

  • github.com /rails/rails-html-sanitizer/commit/f3ba1a839a35f2ba7f941c15…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning