Cross-site Scripting (XSS) Affecting ruby-rails-html-sanitizer package, versions <1.0.3-1
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIANUNSTABLE-RUBYRAILSHTMLSANITIZER-365084
- published 16 Feb 2016
- disclosed 16 Feb 2016
Introduced: 16 Feb 2016
CVE-2015-7580 Open this link in a new tabHow to fix?
Upgrade Debian:unstable ruby-rails-html-sanitizer to version 1.0.3-1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream ruby-rails-html-sanitizer package and not the ruby-rails-html-sanitizer package as distributed by Debian.
See How to fix? for Debian:unstable relevant fixed versions and status.
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.
References
- https://security-tracker.debian.org/tracker/CVE-2015-7580
- https://github.com/rails/rails-html-sanitizer/commit/63903b0eaa6d2a4e1c91bc86008256c4c8335e78
- https://groups.google.com/forum/message/raw?msg=rubyonrails-security/uh--W4TDwmI/m_CVZtdbFQAJ
- 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/15
- http://www.securitytracker.com/id/1034816