Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 3.x and 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.
| Package (Ecosystem) | Introduced | Fixed | Limit |
|---|---|---|---|
| activesupport(RubyGems) | 4.1.0 | 4.1.11 | N/A |
| activesupport(RubyGems) | 4.2.0 | 4.2.2 | N/A |
CVSS Metrics