VDB
KO
MEDIUM

GHSA-6h5q-96hp-9jgm

actionpack vulnerable to Cross-site Scripting

Details

Cross-site scripting (XSS) vulnerability in the `number_to_currency` helper in `actionpack/lib/action_view/helpers/number_helper.rb` in Ruby on Rails before 3.2.16 and 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via the unit parameter.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems / actionpack
Introduced in: 3.0.0 Fixed in: 3.2.16
Fix bundle update actionpack
RubyGems / actionpack
Introduced in: 4.0.0 Fixed in: 4.0.2
Fix bundle update actionpack

References