CVE-2013-6415: Rubyonrails Rails

Medium severity, CVSS 4.3. EPSS: 3.2% chance of exploitation in the next 30 days.

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.

Affected products

  • Rubyonrails Rails: version 3.0.0 only; version 3.0.1 only; version 3.0.2 only; version 3.0.3 only; version 3.0.4 only; version 3.0.5 only; …
  • Rubyonrails Ruby On Rails: up to and including 3.2.15; version 3.0.4 only; version 3.1.11 only; version 3.2.14 only; version 3.2.15 only

Published 2013-12-07. Last modified 2026-06-17.