GitHub Advisory Database
GHSA-w37c-q653-qg95
actionpack Cross-site Scripting vulnerability
Details
Cross-site scripting (XSS) vulnerability in the simple_format helper in actionpack/lib/action_view/helpers/text_helper.rb in Ruby on Rails 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted HTML attribute.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| RubyGems | actionpack | From 4.0.0 before 4.0.2 (fixed in 4.0.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-6416
- https://github.com/rails/rails/commit/4b4f5847f64f81c961625e647711ef9f6ad1a454
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2013-6416.yml
- https://groups.google.com/forum/#!topic/ruby-security-ann/5ZI1-H5OoIM
- https://groups.google.com/forum/message/raw?msg=ruby-security-ann/5ZI1-H5OoIM/ZNq4FoR2GnIJ
- https://web.archive.org/web/20200228165109/http://www.securityfocus.com/bid/64071
- http://weblog.rubyonrails.org/2013/12/3/Rails_3_2_16_and_4_0_2_have_been_released