Live threats

All CVEs / Rubyonrails

CVE-2013-6416Rubyonrails Rails

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
2.0%
probability of exploitation in 30 days · percentile 81
Auth required
No
Published
Dec 7, 2013
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N

What happens

Cross-site scripting (XSS) vulnerability in the simple_format helper in actionpack/lib/action_view/helpers/text_helper.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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rails.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems actionpack ≥ 4.0.0 < 4.0.2 4.0.2 gem "actionpack", ">= 4.0.2"

Per OSV / GitHub Advisories (GHSA-w37c-q653-qg95). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rubyonrailsrails≤ 4.0.1
rubyonrailsrails4.0.0
rubyonrailsrails4.0.0
rubyonrailsrails4.0.0
rubyonrailsrails4.0.0
rubyonrailsrails4.0.1

Official sources

References

Links published by the sources. Open them with care.