CVE-2013-6416: XSS

Published Dec 7, 2013
·
Updated

Cross-site scripting (XSS) vulnerability in the simpleformat helper in actionpack/lib/actionview/helpers/texthelper.rb in Ruby on Rails 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted HTML attribute.

Other sources

Cross-site scripting (XSS) vulnerability in the simpleformat helper in actionpack/lib/actionview/helpers/texthelper.rb in Ruby on Rails 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted HTML attribute.

Affected Software

7 affected componentsFixes available
rubygems/actionpack>=4.0.0<4.0.2
4.0.2
rubyonrails Rails<=4.0.1
rubyonrails Rails=4.0.0
rubyonrails Rails=4.0.0-beta
rubyonrails Rails=4.0.0-rc1
rubyonrails Rails=4.0.0-rc2
rubyonrails Rails=4.0.1-rc1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rubygems/actionpack to a version that resolves this vulnerability.

    Fixed in 4.0.2

Event History

Dec 7, 2013
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·12:55 AM
DescriptionSeverityWeaknessAffected Software
Oct 24, 2017
Advisory Published
06:33 PM

Frequently Asked Questions

1

What is the severity of CVE-2013-6416?

CVE-2013-6416 is considered a medium severity cross-site scripting (XSS) vulnerability.

2

How do I fix CVE-2013-6416?

To resolve CVE-2013-6416, upgrade to Ruby on Rails version 4.0.2 or later.

3

What systems are affected by CVE-2013-6416?

CVE-2013-6416 affects Ruby on Rails versions 4.0.0 to 4.0.1 and all beta and release candidate versions of 4.0.0.

4

What type of vulnerability is CVE-2013-6416?

CVE-2013-6416 is classified as a cross-site scripting (XSS) vulnerability in the simple_format helper.

5

Can CVE-2013-6416 lead to data theft?

Yes, if exploited, CVE-2013-6416 can allow remote attackers to inject arbitrary scripts, potentially leading to data theft.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203