CVE-2008-7248: Rubyonrails Rails

Medium severity, CVSS 6.8. EPSS: 8.1% probability of exploitation activity in the next 30 days.

Ruby on Rails 2.1 before 2.1.3 and 2.2.x before 2.2.2 does not verify tokens for requests with certain content types, which allows remote attackers to bypass cross-site request forgery (CSRF) protection for requests to applications that rely on this protection, as demonstrated using text/plain.

What to do

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

Affected products

  • Rubyonrails Rails: version 2.1.0 only; version 2.1.1 only; version 2.1.2 only; version 2.2.0 only; version 2.2.1 only

Affected packages

Published 2009-12-16. Last modified 2026-06-16.