Back
CVE-2015-7578
Cross-site scripting (XSS) vulnerability in the rails-html-sanitizer gem before 1.0.3 for Ruby on Rails 4.2.x and 5.x allows remote…
Medium6.1EPSS 2.5%
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
Cross-site scripting (XSS) vulnerability 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 crafted tag attributes.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 2.5% · top 15% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsrails-html-sanitizerGHSA-59c7-4xj2-hgvw (opens in a new tab)
References (9)
- FEDORA-2016-3a2606f993 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- [oss-security] 20160125 [CVE-2015-7578] Possible XSS vulnerability in rails-html-sanitizer (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- SUSE-SU-2016:1146 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- https://github.com/rails/rails-html-sanitizer/commit/297161e29a3e11186ce4c02bf7defc088bf544d4 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 1034816 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- [ruby-security-ann] 20160125 [CVE-2015-7578] Possible XSS vulnerability in rails-html-sanitizer (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- FEDORA-2016-59ce8b61dd (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- SUSE-SU-2016:0391 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- openSUSE-SU-2016:0356 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-59c7-4xj2-hgvw (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2015-7578)Record last updated .