VDB
Sign up
MEDIUM

GHSA-vxvp-4xwc-jpp6

activesupport Cross-site Scripting vulnerability

Quick fix

GHSA-vxvp-4xwc-jpp6 — activesupport: upgrade to the fixed version with the command below.

bundle update activesupport

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/activesupport
Introduced in: 4.1.0Fixed in: 4.1.11
Fixbundle update activesupport
RubyGems/activesupport
Introduced in: 4.2.0Fixed in: 4.2.2
Fixbundle update activesupport

References