CVE-2015-7579: rails-html-sanitizer - Reflected XSS
- Cve: CVE-2015-7579
- Name: rails-html-sanitizer - Reflected XSS
- 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.
- Impact: Attackers can execute arbitrary scripts in the context of the victim's browser, leading to session hijacking or defacement.
- Remediation: Update to the latest version of rails-html-sanitizer that addresses this vulnerability.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to send malicious input
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.02577
- Epss percentile: 0.85599
- Assignee: [email protected]
- Published at: 2016-02-16T02:59:03Z
- Age in days: 3934
- Modified at: 2026-06-17T00:32:47Z
- References total: 9
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2015-7579
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| rubyonrails:html_sanitizer | <= 1.0.2 | yes | nvd | /v1/products/rubyonrails/html_sanitizer |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| rails/rails-html-sanitizer | commit, fix, package | yes | /v1/repositories/rails/rails-html-sanitizer |
Index
- Repositories: 3
- Packages: 1
- Checked, none or zero: repositories high signal
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts