CVE-2015-7580
mediumpriority · track · 25EPSS 0.022 · 82 %ileDEEUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedruby4.0-rubygem-rails-html-sanitizer-0:1.6.0-1.9.aarch64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-rails-html-sanitizer-0:1.6.0-1.9.ppc64le as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-rails-html-sanitizer-0:1.6.0-1.9.s390x as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-rails-html-sanitizer-0:1.6.0-1.9.x86_64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (11)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-1085Ruby on Rails: Mehrere SchwachstellenDeutsch2016-01-25csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Ruby on Rails ausnutzen, um Sicherheitsfunktionen zu umgehen, um Dateien zu manipulieren oder um einen Denial of Service Zustand herbeizuführen.
- openSUSE-SU-2026:10361-1ruby4.0-rubygem-rails-html-sanitizer-1.6.0-1.9 on GA media2026-03-13csaf · suse_csafDE
ruby4.0-rubygem-rails-html-sanitizer-1.6.0-1.9 on GA media
- GHSA-ghqm-pgxj-37gqrails-html-sanitizer Cross-site Scripting vulnerability2017-10-24ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (22)
External citations — patches, advisories, analysis.
- http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00014.htmlcnnvd
- http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00024.htmlcnnvd
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.htmlcnnvd
- http://weblog.rubyonrails.org/2016/1/25/Rails-5-0-0-beta1-1-4-2-5-1-4-1-14-1-3-2-22-1-and-rails-html-sanitizer-1-0-3-have-been-released/Patchcnnvd
- http://www.openwall.com/lists/oss-security/2016/01/25/15cnnvd
- http://www.securitytracker.com/id/1034816cnnvd
- https://github.com/rails/rails-html-sanitizer/commit/63903b0eaa6d2a4e1c91bc86008256c4c8335e78cnnvd
- https://groups.google.com/forum/message/raw?msg=rubyonrails-security/uh--W4TDwmI/m_CVZtdbFQAJcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan