CVE-2015-7578
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 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.
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 |
| html_sanitizer | rubyonrails | 1.0.2 |
| ruby-rails-html-sanitizer | Ubuntu:16.04:LTS | 1.0.3-2 |
| ruby-rails-html-sanitizer | Ubuntu:18.04:LTS | 1.0.3-2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| RubyGems | rails-html-sanitizer | 0 |
| n/a | n/a | * |
Timeline
- Jan 25, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 20, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 20, 2026 Security Advisory (8 in total, the first dated here)
- May 6, 2026 CVE Updated
- Oct 12, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2015-7578
vulnetix vdb fixes CVE-2015-7578
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-7578/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2016-3a2606f993 vendor-advisoryx_refsource_FEDORA
- [oss-security] 20160125 [CVE-2015-7578] Possible XSS vulnerability in rails-html-sanitizer mailing-listx_refsource_MLIST
- SUSE-SU-2016:1146 vendor-advisoryx_refsource_SUSE
- x_refsource_CONFIRM
- 1034816 vdb-entryx_refsource_SECTRACK
- [ruby-security-ann] 20160125 [CVE-2015-7578] Possible 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/uh--W4TDwmI url