ADVISORIES

GitHub Advisory Database

GHSA-xxr8-833v-c7wc

Cross-site Scripting vulnerability in i18n translations helper method

Moderate CVE-2011-4319

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.

Affected packages

EcosystemPackageAffected versions
RubyGemsactionpack
From 3.0.0 before 3.0.11 (fixed in 3.0.11)
RubyGemsactionpack
From 3.1.0 before 3.1.2 (fixed in 3.1.2)

References