CVE-2012-1098: Rubyonrails Rails

Medium severity, CVSS 4.3. EPSS: 2.7% chance of exploitation in the next 30 days.

Cross-site scripting (XSS) vulnerability in Ruby on Rails 3.0.x before 3.0.12, 3.1.x before 3.1.4, and 3.2.x before 3.2.2 allows remote attackers to inject arbitrary web script or HTML via vectors involving a SafeBuffer object that is manipulated through certain methods.

Affected products

  • Rubyonrails Rails: version 3.0.0 only; version 3.0.1 only; version 3.0.2 only; version 3.0.3 only; version 3.0.4 only; version 3.0.5 only; …
  • Rubyonrails Ruby On Rails: version 3.0.4 only

Published 2012-03-13. Last modified 2026-06-16.