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.
Metrics
CVSS 3.0 6.1/10
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- 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
- 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
Timeline
- Published
- Feb 16, 2016
- Last modified
- Jun 17, 2026
- NVD status
- Modified