MEDIUM6.1
GHSA-r9c2-cr39-c8g6
rails-html-sanitizer Cross-site Scripting vulnerability
Quick fix
GHSA-r9c2-cr39-c8g6 — rails-html-sanitizer: upgrade to the fixed version with the command below.
bundle update rails-html-sanitizerDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-7579[ADVISORY]
- https://github.com/rails/rails-html-sanitizer/commit/49dfc1584c5b8e35a4ffabf8356ba3df025e8d3f[WEB]
- https://github.com/rails/rails-html-sanitizer[PACKAGE]
- https://groups.google.com/forum/message/raw?msg=ruby-security-ann/OU9ugTZcbjc/uksRkSxZEgAJ[WEB]
- https://web.archive.org/web/20160128075017/http://www.securitytracker.com/id/1034816[WEB]
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178046.html[WEB]
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178064.html[WEB]
- http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00014.html[WEB]
- http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00024.html[WEB]
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html[WEB]
- http://www.openwall.com/lists/oss-security/2016/01/25/12[WEB]