rubyonrails html-sanitizer CVE-2018-3741 is a vulnerability in Ruby on Rails Html Sanitizer
Published on March 30, 2018

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.

NVD

Weakness Type

What is a XSS Vulnerability?

The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

CVE-2018-3741 has been classified to as a XSS vulnerability or weakness.


Products Associated with CVE-2018-3741

Want to know whenever a new CVE is published for Ruby on Rails Html Sanitizer? stack.watch will email you.

 

Affected Versions

rails-html-sanitizer Version <= 1.0.3 is affected by CVE-2018-3741

Exploit Probability

EPSS
0.13%
Percentile
32.20%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.