GitHub Advisory Database
GHSA-h835-75hw-pj89
activesupport Cross-site Scripting vulnerability
Details
Cross-site scripting (XSS) vulnerability in activesupport/lib/active_support/core_ext/string/output_safety.rb in Ruby on Rails before 2.3.16, 3.0.x before , 3.1.x before 3.1.8, and 3.2.x before 3.2.8 might allow remote attackers to inject arbitrary web script or HTML via vectors involving a ' (quote) character.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| RubyGems | activesupport | From 3.0.0.beta before 3.0.17 (fixed in 3.0.17) |
| RubyGems | activesupport | From 3.1.0 before 3.1.8 (fixed in 3.1.8) |
| RubyGems | activesupport | From 3.2.0 before 3.2.8 (fixed in 3.2.8) |
| RubyGems | activesupport | All versions before 2.3.16 (fixed in 2.3.16) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-3464
- https://github.com/rails/rails/issues/7215
- https://github.com/rails/rails/commit/28f2c6f4037081da0a82104a3f473165ed4ed2ce
- https://github.com/rails/rails/commit/780a718723cf87b49cfe204d355948c4e0932d23
- https://github.com/rails/rails/commit/d0c9759d3aeb6327d68dd6c0de0fe2fed4e3c870
- https://github.com/rails/rails/commit/d549df7133f2b0bad8112890d478c33e990e12bc
- https://github.com/advisories/GHSA-h835-75hw-pj89
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2012-3464.yml
- https://groups.google.com/group/rubyonrails-security/msg/8f1bbe1cef8c6caf?dmode=source&output=gplain
- http://rhn.redhat.com/errata/RHSA-2013-0154.html
- http://weblog.rubyonrails.org/2012/8/9/ann-rails-3-2-8-has-been-released