Live threats

All CVEs / Rubyonrails

CVE-2007-3227Rubyonrails Rails

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
3.7%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Jun 14, 2007
Updated
Jun 16, 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 to_json (ActiveRecord::Base#to_json) function in Ruby on Rails before edge 9606 allows remote attackers to inject arbitrary web script via the input values.

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 rails < 1.2.5 1.2.5 gem "rails", ">= 1.2.5"

Per OSV / GitHub Advisories (GHSA-gm25-fpmr-43fj). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rubyonrailsrails1.1.5

Official sources

References

Links published by the sources. Open them with care.