Cross-Site Scripting in Ruby's rails-html-sanitizer by Ruby on Rails
CVE-2018-3741
What is CVE-2018-3741?
The rails-html-sanitizer gem, used in Ruby applications, is vulnerable to Cross-Site Scripting (XSS) attacks in all versions prior to 1.0.4. This vulnerability occurs due to the inclusion of non-whitelisted attributes in the sanitized output when processing carefully crafted HTML snippets. Attackers can exploit this flaw to inject malicious scripts, potentially compromising the security of web applications that rely heavily on the sanitization provided by this gem. Developers are strongly encouraged to upgrade to version 1.0.4 or later to mitigate this risk, or to implement provided workarounds immediately.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
rails-html-sanitizer <= 1.0.3
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved
