CVE-2013-6416
MEDIUM 4.3CVSS 2.0actionpack Cross-site Scripting vulnerability
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.
- Published
- 7 Dec 2013
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-w37c-q653-qg95
- Sources
- NVDJSONOSV GHSA-w37c-q653-qg95JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:*:-:*:*:*:*:*:* |
<= 4.0.1 | |
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:4.0.0:-:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:4.0.0:beta:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:4.0.0:rc1:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:4.0.0:rc2:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:4.0.1:rc1:*:*:*:*:*:* |
= 4.0.1 | |
| OSV | RubyGems | actionpack | >= 4.0.0, < 4.0.2 | 4.0.2 |
References
- http://weblog.rubyonrails.org/2013/12/3/Rails_3_2_16_and_4_0_2_have_been_released/ · WEB
- http://www.securityfocus.com/bid/64071
- https://groups.google.com/forum/message/raw?msg=ruby-security-ann/5ZI1-H5OoIM/ZNq4FoR2GnIJ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2013-6416 · ADVISORY
- https://github.com/rails/rails/commit/4b4f5847f64f81c961625e647711ef9f6ad1a454 · WEB
- https://github.com/rails/rails · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2013-6416.yml · WEB
- https://groups.google.com/forum/#!topic/ruby-security-ann/5ZI1-H5OoIM · WEB
- https://web.archive.org/web/20200228165109/http://www.securityfocus.com/bid/64071 · WEB
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 7 Dec 2013)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Oct 2017)