CVE-2015-7579
rails-html-sanitizer Cross-site Scripting vulnerability
Reported by redhat · Published February 16, 2016
rails-html-sanitizer is fixed in 1.0.3 (RubyGems)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| rails-html-sanitizer | RubyGems | 1.0.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| RubyGems | rails-html-sanitizer | 1.0.2 |
Timeline
- Jan 25, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 CVE Updated
- Mar 18, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 18, 2026 Security Advisory (8 in total, the first dated here)
- Oct 12, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2015-7579
vulnetix vdb fixes CVE-2015-7579
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2015-7579/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- [ruby-security-ann] 20160125 [CVE-2015-7579] XSS vulnerability in rails-html-sanitizer mailing-listx_refsource_MLIST
- FEDORA-2016-3a2606f993 vendor-advisoryx_refsource_FEDORA
- SUSE-SU-2016:1146 vendor-advisoryx_refsource_SUSE
- 1034816 vdb-entryx_refsource_SECTRACK
- [oss-security] 20160125 [CVE-2015-7579] XSS vulnerability in rails-html-sanitizer mailing-listx_refsource_MLIST
- FEDORA-2016-59ce8b61dd vendor-advisoryx_refsource_FEDORA
- SUSE-SU-2016:0391 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2016:0356 vendor-advisoryx_refsource_SUSE
- https://groups.google.com/forum/#!topic/rubyonrails-security/OU9ugTZcbjc url