cvedb.io
CVE-2018-3741
MEDIUM · CVSS 6.1
EPSS exploitation probability: 0%
Published 2018-03-30T19:29:00.333 · Last modified 2026-06-17T01:57:45.283

Summary

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

rubyonrails — html_sanitizer

Does this affect you?

Add your gear to cvedb and we'll alert you only when rubyonrails ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.