GitHub Advisory Database
GHSA-pc3m-v286-2jwj
actionview Cross-site Scripting vulnerability
Details
Cross-site scripting (XSS) vulnerability in Action View in Ruby on Rails 3.x before 3.2.22.3, 4.x before 4.2.7.1, and 5.x before 5.0.0.1 might allow remote attackers to inject arbitrary web script or HTML via text declared as "HTML safe" and used as attribute values in tag handlers.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| RubyGems | actionview | From 3.0.0 before 3.2.22.3 (fixed in 3.2.22.3) |
| RubyGems | actionview | From 4.0.0 before 4.2.7.1 (fixed in 4.2.7.1) |
| RubyGems | actionview | From 5.0.0 before 5.0.0.1 (fixed in 5.0.0.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-6316
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2016-6316.yml
- https://groups.google.com/forum/#!topic/ruby-security-ann/8B2iV2tPRSE
- https://groups.google.com/forum/#!topic/rubyonrails-security/I-VWr034ouk
- https://web.archive.org/web/20200227202008/http://www.securityfocus.com/bid/92430
- https://web.archive.org/web/20200812154343/https://puppet.com/security/cve/cve-2016-6316
- http://rhn.redhat.com/errata/RHSA-2016-1855.html
- http://rhn.redhat.com/errata/RHSA-2016-1856.html
- http://rhn.redhat.com/errata/RHSA-2016-1857.html
- http://rhn.redhat.com/errata/RHSA-2016-1858.html
- http://weblog.rubyonrails.org/2016/8/11/Rails-5-0-0-1-4-2-7-2-and-3-2-22-3-have-been-released
- http://www.debian.org/security/2016/dsa-3651
- http://www.openwall.com/lists/oss-security/2016/08/11/3