VDB
KO
MEDIUM

GHSA-xxr8-833v-c7wc

Cross-site Scripting vulnerability in i18n translations helper method

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.0 Fixed in: 3.0.11
Fix bundle update actionpack
RubyGems / actionpack
Introduced in: 3.1.0 Fixed in: 3.1.2
Fix bundle update actionpack

References