VDB
Sign up
MEDIUM

GHSA-gm25-fpmr-43fj

Moderate severity vulnerability that affects rails

Quick fix

GHSA-gm25-fpmr-43fj — rails: upgrade to the fixed version with the command below.

bundle update rails

Details

Cross-site scripting (XSS) vulnerability in the to_json (ActiveRecord::Base#to_json) function in Ruby on Rails before edge 9606 allows remote attackers to inject arbitrary web script via the input values.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/rails
Introduced in: 0Fixed in: 1.2.5
Fixbundle update rails

References