Back
CVE-2015-7579
Cross-site scripting (XSS) vulnerability in the rails-html-sanitizer gem 1.0.2 for Ruby on Rails 4.2.x and 5.x allows remote attackers to…
Medium6.1EPSS 2.6%
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
Cross-site scripting (XSS) vulnerability in the rails-html-sanitizer gem 1.0.2 for Ruby on Rails 4.2.x and 5.x allows remote attackers to inject arbitrary web script or HTML via an HTML entity that is mishandled by the Rails::Html::FullSanitizer class.
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.6% · 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-r9c2-cr39-c8g6 (opens in a new tab)
References (9)
- https://github.com/rails/rails-html-sanitizer/commit/49dfc1584c5b8e35a4ffabf8356ba3df025e8d3f (opens in a new tab)x_refsource_CONFIRMx_transferred
- [ruby-security-ann] 20160125 [CVE-2015-7579] XSS vulnerability in rails-html-sanitizer (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- FEDORA-2016-3a2606f993 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- SUSE-SU-2016:1146 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 1034816 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- [oss-security] 20160125 [CVE-2015-7579] 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-r9c2-cr39-c8g6 (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-7579)Record last updated .