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.
CVE-2015-7580
MEDIUMNVD 6.16.1—
EchelonGraph scoreMEDIUM confidence
This medium-severity CVE scores 6.1 under NVD CVSS v3. EPSS exploit probability: 0.2%, top 63% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
Triggered by: NVD CVSS baseline
Sources: epss, nvd
6.1
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
- Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS: 2%CVSS: 6.1Exploit: NoneExposed: 0
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.1
- EG Score
- 6.1(medium)
- EPSS
- 80.4%
- KEV
- Not listed
Published
February 16, 2016
Last Modified
May 6, 2026
References (14)
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00014.html
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00024.html
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html
- secalert@redhathttp://www.openwall.com/lists/oss-security/2016/01/25/15
- secalert@redhathttp://www.securitytracker.com/id/1034816
- secalert@redhathttps://github.com/rails/rails-html-sanitizer/commit/63903b0eaa6d2a4e1c91bc86008256c4c8335e78
- secalert@redhathttps://groups.google.com/forum/message/raw?msg=rubyonrails-security/uh--W4TDwmI/m_CVZtdbFQAJ
- af854a3a-2127-422b-91ae-364da2661108http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00014.html
- af854a3a-2127-422b-91ae-364da2661108http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00024.html
- af854a3a-2127-422b-91ae-364da2661108http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html
- af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2016/01/25/15
- af854a3a-2127-422b-91ae-364da2661108http://www.securitytracker.com/id/1034816
- af854a3a-2127-422b-91ae-364da2661108https://github.com/rails/rails-html-sanitizer/commit/63903b0eaa6d2a4e1c91bc86008256c4c8335e78
- af854a3a-2127-422b-91ae-364da2661108https://groups.google.com/forum/message/raw?msg=rubyonrails-security/uh--W4TDwmI/m_CVZtdbFQAJ
Affected Packages
(1 across 1 ecosystem)
RubyGems(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| rails-html-sanitizer | 1.0.0, 1.0.1, 1.0.2 | 1.0.3 | — |
Frequently asked(5)
What is CVE-2015-7580?
CVE-2015-7580 is a medium vulnerability published on February 16, 2016. 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.
When was CVE-2015-7580 disclosed?
CVE-2015-7580 was first published in the National Vulnerability Database on February 16, 2016, with the most recent update on May 6, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2015-7580 actively exploited?
CVE-2015-7580 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 80.4% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2015-7580?
CVE-2015-7580 has a CVSS v3 base score of 6.1 (NVD).
How do I remediate CVE-2015-7580?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2015-7580, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2015-7580
Is Your Infrastructure Affected by CVE-2015-7580?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.