CVE-2013-6415: Rubyonrails Rails

Medium severity, CVSS 4.3. EPSS: 3.2% probability of exploitation activity 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.

What to do

No fixed version is stated in NVD's or the CNA's structured data. The description says "before 3.2.16", "before 4.0.2"; check the vendor's advisory for the release that fixes it.

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

Affected packages

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