CVE-2015-7580: Rubyonrails Html Sanitizer

Medium severity, CVSS 6.1. EPSS: 2.2% probability of exploitation activity in the next 30 days.

Cross-site scripting (XSS) vulnerability in lib/rails/html/scrubbers.rb in the rails-html-sanitizer gem before 1.0.3 for Ruby on Rails 4.2.x and 5.x allows remote attackers to inject arbitrary web script or HTML via a crafted CDATA node.

What to do

No fixed version is stated in NVD's or the CNA's structured data. The description says "before 1.0.3"; check the vendor's advisory for the release that fixes it.

Affected products

Affected packages

Published 2016-02-16. Last modified 2026-06-17.