CVE-2018-3741

Source
https://cve.org/CVERecord?id=CVE-2018-3741
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-3741.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-3741
Aliases
Downstream
Related
Published
2018-03-30T19:29:00.333Z
Modified
2026-05-17T11:54:07.077315205Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages