VDB
Sign up
MEDIUM

GHSA-xxr8-833v-c7wc

Cross-site Scripting vulnerability in i18n translations helper method

Quick fix

GHSA-xxr8-833v-c7wc — actionpack: upgrade to the fixed version with the command below.

bundle update actionpack

Details

Cross-site scripting (XSS) vulnerability in the i18n translations helper method in Ruby on Rails 3.0.x before 3.0.11 and 3.1.x before 3.1.2, and the rails_xss plugin in Ruby on Rails 2.3.x, allows remote attackers to inject arbitrary web script or HTML via vectors related to a translations string whose name ends with an "html" substring.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/actionpack
Introduced in: 3.0.0Fixed in: 3.0.11
Fixbundle update actionpack
RubyGems/actionpack
Introduced in: 3.1.0Fixed in: 3.1.2
Fixbundle update actionpack

References