SecurityContext

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

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
  • Tags:
Url
http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178046.html
http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178064.html
http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00014.html
http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00024.html
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html
http://www.openwall.com/lists/oss-security/2016/01/25/12
http://www.securitytracker.com/id/1034816
https://github.com/rails/rails-html-sanitizer/commit/49dfc1584c5b8e35a4ffabf8356ba3df025e8d3f
https://groups.google.com/forum/message/raw?msg=ruby-security-ann/OU9ugTZcbjc/uksRkSxZEgAJ

Products

ProductAffectedPlatform boundSourcesUrl
rubyonrails:html_sanitizer<= 1.0.2yesnvd/v1/products/rubyonrails/html_sanitizer

Projects

RepositoryLink kindsIndexedUrl
rails/rails-html-sanitizercommit, fix, packageyes/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