PT-2018-16163
CVE-2018-3741
·
Published
2018-03-30
·
Updated
2026-03-13
Description by
CVSS 3.1
6.1
MediumMetricsAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
rails-html-sanitizer gem versions prior to 1.0.4
Description
The issue allows non-whitelisted attributes to be present in sanitized output when input with specially-crafted HTML fragments, potentially leading to an XSS attack on target applications.
Recommendations
For versions prior to 1.0.4, upgrade to version 1.0.4 or later to resolve the issue. As a temporary workaround, consider using one of the provided workarounds until an upgrade is possible.
Found an issue in the description? Have something to add? Feel free to write us 👾