CVE-2012-1098: Rubyonrails Rails

Medium severity, CVSS 4.3. EPSS: 2.6% probability of exploitation activity 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.

What to do

No fixed version is stated in NVD's or the CNA's structured data. The description says "before 3.0.12", "before 3.1.4", "before 3.2.2"; check the vendor's advisory for the release that fixes it.

Affected products

Affected packages

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