VDB

CVE-2018-3741

CVE-2018-3741 PUBLISHED CVSS 6.099999904632568 MEDIUM

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.

EPSS 1.25% · 68.2th percentile

Risk Scores

CVSS 3.1
6.099999904632568
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS Score
1.25%
68.2th percentile

Affected Products

VendorProductVersions
Ubuntu:16.04:LTSruby-rails-html-sanitizer0, 1.0.2-1, 1.0.3-1

Timeline

  • CVE Published
  • Mar 22, 2018 PoC Published
  • Apr 14, 2021 EPSS Score
  • Jun 23, 2021 EPSS Score
  • Aug 25, 2021 EPSS Score
  • Oct 27, 2021 EPSS Score
  • Dec 30, 2021 EPSS Score
  • Mar 3, 2022 EPSS Score
  • May 5, 2022 EPSS Score
  • Jul 7, 2022 EPSS Score
  • Nov 11, 2022 EPSS Score
  • Jan 13, 2023 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›