ADVISORIES

GitHub Advisory Database

GHSA-vxvp-4xwc-jpp6

activesupport Cross-site Scripting vulnerability

Moderate CVE-2015-3226

Details

Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 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.

Affected packages

EcosystemPackageAffected versions
RubyGemsactivesupport
From 4.1.0 before 4.1.11 (fixed in 4.1.11)
RubyGemsactivesupport
From 4.2.0 before 4.2.2 (fixed in 4.2.2)

References