RubySec

Providing security resources for the Ruby community

CVE-2014-0081 (rails): Rails vulnerable to Cross-site Scripting

ADVISORIES

GEM

rails

SEVERITY

CVSS v2.0: 4.3 (Medium)

PATCHED VERSIONS

  • ~> 3.2.17
  • ~> 4.0.3
  • ~> 4.1.0.beta2
  • >= 4.1.0

DESCRIPTION

Multiple cross-site scripting (XSS) vulnerabilities in "actionview/lib/action_view/helpers/number_helper.rb" in Ruby on Rails before 3.2.17, 4.0.x before 4.0.3, and 4.1.x before 4.1.0.beta2 allow remote attackers to inject arbitrary web script or HTML via the (1) format, (2) negative_format, or (3) units parameter to the (a) number_to_currency, (b) number_to_percentage, or (c) number_to_human helper.

RELATED