CVE-2015-7580
Summary
| CVE | CVE-2015-7580 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2016-02-16 02:59:03 UTC |
| Updated | 2026-05-06 22:30:45 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.0 6.1 MEDIUM from [email protected]
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Problem Types: CWE-79 | n/a
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.0 | [email protected] | Primary | 6.1 | MEDIUM | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| 2.0 | [email protected] | Primary | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
CVSS v3.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
NoneIntegrity
PartialAvailability
NoneAV:N/AC:M/Au:N/C:N/I:P/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Rubyonrails | Html Sanitizer | All | All | All | All |
| Application | Rubyonrails | Rails | 4.2.0 | All | All | All |
| Application | Rubyonrails | Rails | 4.2.0 | beta1 | All | All |
| Application | Rubyonrails | Rails | 4.2.0 | beta2 | All | All |
| Application | Rubyonrails | Rails | 4.2.0 | beta3 | All | All |
| Application | Rubyonrails | Rails | 4.2.0 | beta4 | All | All |
| Application | Rubyonrails | Rails | 4.2.0 | rc1 | All | All |
| Application | Rubyonrails | Rails | 4.2.0 | rc2 | All | All |
| Application | Rubyonrails | Rails | 4.2.0 | rc3 | All | All |
| Application | Rubyonrails | Rails | 4.2.1 | All | All | All |
| Application | Rubyonrails | Rails | 4.2.1 | rc1 | All | All |
| Application | Rubyonrails | Rails | 4.2.1 | rc2 | All | All |
| Application | Rubyonrails | Rails | 4.2.1 | rc3 | All | All |
| Application | Rubyonrails | Rails | 4.2.1 | rc4 | All | All |
| Application | Rubyonrails | Rails | 4.2.2 | All | All | All |
| Application | Rubyonrails | Rails | 4.2.3 | All | All | All |
| Application | Rubyonrails | Rails | 4.2.3 | rc1 | All | All |
| Application | Rubyonrails | Rails | 4.2.4 | All | All | All |
| Application | Rubyonrails | Rails | 4.2.4 | rc1 | All | All |
| Application | Rubyonrails | Rails | 4.2.5 | All | All | All |
| Application | Rubyonrails | Rails | 4.2.5 | rc1 | All | All |
| Application | Rubyonrails | Rails | 4.2.5 | rc2 | All | All |
| Application | Rubyonrails | Rails | 4.2.5.1 | All | All | All |
| Application | Rubyonrails | Rails | 4.2.5.2 | All | All | All |
| Application | Rubyonrails | Rails | 4.2.6 | rc1 | All | All |
| Application | Rubyonrails | Rails | 5.0.0 | beta1 | All | All |
| Application | Rubyonrails | Rails | 5.0.0 | beta1.1 | All | All |
| Application | Rubyonrails | Rails | 5.0.0 | beta2 | All | All |
| Application | Rubyonrails | Rails | 5.0.0 | beta3 | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Rails Multiple Bugs Let Remote Users Determine Passwords, Modify Records, Bypass Security Restrictions, Deny Service, and Conduct Cross-Site Scripting Attacks - SecurityTracker | af854a3a-2127-422b-91ae-364da2661108 | www.securitytracker.com | |
| [security-announce] openSUSE-SU-2016:0356-1: important: Security update | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| [security-announce] SUSE-SU-2016:1146-1: important: Security update for | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| oss-security - [CVE-2015-7580] Possible XSS vulnerability in rails-html-sanitizer | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| [security-announce] SUSE-SU-2016:0391-1: important: Security update for | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| convert CDATA nodes to TEXT nodes to avoid XSS issues · rails/rails-html-sanitizer@63903b0 · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | |
| groups.google.com/forum/message/raw | af854a3a-2127-422b-91ae-364da2661108 | groups.google.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.