Home / Rubyonrails / Html Sanitizer / CVE-2015-7580
CVE-2015-7580: is it exploited, and which versions of Rubyonrails Html Sanitizer are affected and fixed?
CVE-2015-7580 is a cross-site scripting (XSS) vulnerability in Rubyonrails Html Sanitizer. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: rails-html-sanitizer before 1.0.3 (GitHub advisory GHSA-ghqm-pgxj-37gq). Fixed in 1.0.3 (GitHub advisory GHSA-ghqm-pgxj-37gq). Severity: Medium (6.1, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:46 UTC.
What is CVE-2015-7580?
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.
From the CVE record by redhat, last updated August 6, 2024, 07:51 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | rails-html-sanitizer | < 1.0.3 | 1.0.3 | GHSA-ghqm-pgxj-37gq |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 23, 2023. Summary: rails-html-sanitizer Cross-site Scripting vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| rubyonrails | html sanitizer | through 1.0.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 00:32 UTC.
How severe is CVE-2015-7580?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2015-7580 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.19% probability of exploitation activity in the next 30 days, percentile 83.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- [rubyonrails-security] 20160125 [CVE-2015-7580] Possible XSS vulnerability in rails-html-sanitizer mailing-list, x_refsource_MLIST
- SUSE-SU-2016:1146 vendor-advisory, x_refsource_SUSE
- [oss-security] 20160125 [CVE-2015-7580] Possible XSS vulnerability in rails-html-sanitizer mailing-list, x_refsource_MLIST
- 1034816 vdb-entry, x_refsource_SECTRACK
- https://github.com/rails/rails-html-sanitizer/commit/63903b0eaa6d2a4e1c91bc86008256c4c8335e78 x_refsource_CONFIRM
- SUSE-SU-2016:0391 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2016:0356 vendor-advisory, x_refsource_SUSE
When was it published, and where is the official record?
- Reserved
- September 29, 2015
- Published
- February 16, 2016, 02:00 UTC
- CVE record updated
- August 6, 2024, 07:51 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 00:32 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:46 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Html Sanitizer?
- Feb 16, 2016CVE-2015-7579 Rubyonrails Html Sanitizer: cross-site scripting (XSS)
- Feb 16, 2016CVE-2015-7578 Rubyonrails Html Sanitizer: cross-site scripting (XSS)
Questions about CVE-2015-7580
Is CVE-2015-7580 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 2.19% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Rubyonrails Html Sanitizer are affected by CVE-2015-7580?
rails-html-sanitizer before 1.0.3, per the GitHub advisory GHSA-ghqm-pgxj-37gq. The tables above give every range the sources list.
Which version fixes CVE-2015-7580?
1.0.3, per the GitHub advisory GHSA-ghqm-pgxj-37gq. Check the vendor's advisory before you rely on it.
How severe is CVE-2015-7580?
Medium (6.1, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2015-7580?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.