CVE-2015-7580
Cross-site scripting (XSS) vulnerability in lib/rails/html/scrubbers.r ...
Overview
Description
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.
Source: OX vulnerability database
Severity
6.1 · MEDIUM
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness: CWE-79
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | rails-html-sanitizer | <1.0.3 | 1.0.3 |
Open a package to see all its vulnerabilities.
Operating systems · 12 fixes
debian 4 releases · 1 package
fixed 4
ruby-rails-html-sanitizer
| Release | Package | Fixed in |
|---|---|---|
| 11 | ruby-rails-html-sanitizer | 1.0.3-1 |
| 12 | ruby-rails-html-sanitizer | 1.0.3-1 |
| 13 | ruby-rails-html-sanitizer | 1.0.3-1 |
| 14 | ruby-rails-html-sanitizer | 1.0.3-1 |
echo 1 release · 1 package
fixed 1
ruby-rails-html-sanitizer
| Release | Package | Fixed in |
|---|---|---|
| ruby-rails-html-sanitizer | 1.0.3-1 |
openSUSE 1 release · 7 packages
fixed 7
ruby2-2-rubygem-rails-html-sanitizer
ruby2-7-rubygem-rails-html-sanitizer
ruby3-1-rubygem-rails-html-sanitizer
ruby3-2-rubygem-rails-html-sanitizer
ruby3-3-rubygem-rails-html-sanitizer
ruby3-4-rubygem-rails-html-sanitizer
+1
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | ruby2-2-rubygem-rails-html-sanitizer +5 | 1.0.3-1.2 | openSUSE-SU-2024:10189-1 |
| Tumbleweed | ruby2-7-rubygem-rails-html-sanitizer +1 | 1.4.2-1.2 | openSUSE-SU-2024:11349-1 |
| Tumbleweed | ruby3-1-rubygem-rails-html-sanitizer | 1.4.3-1.1 | openSUSE-SU-2024:12145-1 |
| Tumbleweed | ruby3-2-rubygem-rails-html-sanitizer | 1.5.0-2.1 | openSUSE-SU-2024:13137-1 |
| Tumbleweed | ruby3-3-rubygem-rails-html-sanitizer | 1.6.0-1.5 | openSUSE-SU-2024:14175-1 |
| Tumbleweed | ruby3-4-rubygem-rails-html-sanitizer | 1.6.0-1.7 | openSUSE-SU-2025:15125-1 |
1 more row
References
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00014.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00024.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html
- www.openwall.com http://www.openwall.com/lists/oss-security/2016/01/25/15
- www.securitytracker.com http://www.securitytracker.com/id/1034816
- github.com https://github.com/rails/rails-html-sanitizer
- github.com https://github.com/rails/rails-html-sanitizer/commit/63903b0eaa6d2a4e1c91bc86008256c4c8335e78
- groups.google.com https://groups.google.com/forum/#!topic/rubyonrails-security/uh--W4TDwmI
- groups.google.com https://groups.google.com/forum/message/raw?msg=rubyonrails-security/uh--W4TDwmI/m_CVZtdbFQAJ
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2015-7580
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.