XSS in Rubyonrails Rails
CVE-2013-6415
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.032, 88.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rubyonrails Rails — versions 3.0.0, 3.0.1, 3.0.2
- Rubyonrails Ruby On Rails — versions 3.0.4, 3.1.11, 3.2.14
Weakness classification (CWE)
References
- RHSA-2014:0008 (vendor-advisory)
- openSUSE-SU-2013:1906 (vendor-advisory)
- puppet.com/security/cve/cve-2013-6415
- openSUSE-SU-2014:0019 (vendor-advisory)
- openSUSE-SU-2014:0009 (vendor-advisory)
- openSUSE-SU-2013:1905 (vendor-advisory)
- openSUSE-SU-2013:1907 (vendor-advisory)
- openSUSE-SU-2013:1904 (vendor-advisory)
- [ruby-security-ann] 20131203 [CVE-2013-6415] XSS Vulnerability in number_to_currency (mailing-list)
- weblog.rubyonrails.org/2013/12/3/Rails_3_2_16_and_4_0_2_have_been_released/ (Patch, Vendor Advisory)