PT-2016-3817 · Ruby+1 · Rails-Html-Sanitizer+2

Tenderlove

·

Published

2016-02-07

·

Updated

2026-03-13

·

CVE-2015-7580

CVSS v3.1

6.1

Medium

VectorAV: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.3 Ruby on Rails versions 4.2.x and 5.x
Description A cross-site scripting (XSS) issue allows remote attackers to inject arbitrary web script or HTML via a crafted CDATA node. This is due to a vulnerability in the lib/rails/html/scrubbers.rb file in the rails-html-sanitizer gem.
Recommendations For rails-html-sanitizer gem versions prior to 1.0.3, update to version 1.0.3 or later. For Ruby on Rails versions 4.2.x and 5.x, ensure the rails-html-sanitizer gem is updated to version 1.0.3 or later.

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2015-7580
GHSA-77PC-Q5Q7-QG9H
GHSA-GHQM-PGXJ-37GQ
OPENSUSE-SU-2016_0356-1
OPENSUSE-SU-2024:10189-1
OPENSUSE-SU-2024:11349-1
OPENSUSE-SU-2024:12145-1
OPENSUSE-SU-2024:13137-1
OPENSUSE-SU-2024:14175-1
OPENSUSE-SU-2025:15125-1
OPENSUSE-SU-2026:10361-1
SUSE-SU-2016:0391-1
SUSE-SU-2016:1146-1

Affected Products

Ruby On Rails
Suse
Rails-Html-Sanitizer