Skip to content
CVE Tracker
Back

CVE-2011-2197

The cross-site scripting (XSS) prevention feature in Ruby on Rails 2.x before 2.3.12, 3.0.x before 3.0.8, and 3.1.x before 3.1.0.rc2 does…

Medium4.3EPSS 2.0%
Published
Updated
Reserved
Assigned by
redhat

Description

The cross-site scripting (XSS) prevention feature in Ruby on Rails 2.x before 2.3.12, 3.0.x before 3.0.8, and 3.1.x before 3.1.0.rc2 does not properly handle mutation of safe buffers, which makes it easier for remote attackers to conduct XSS attacks via crafted strings to an application that uses a problematic string method, as demonstrated by the sub method.

Scores

CVSS scores of CVE-2011-2197, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified2.0Medium4.3AV:N/AC:M/Au:N/C:N/I:P/A:N
EPSS (exploitation in 30 days)
2.0% · top 20% of all CVEs (2 Nov 2026)

Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.

Weakness

Affected products

  • n/a

    • affected n/a

Affected packages

From reviewed advisories of the GitHub Advisory Database.

References (7)

Sources

The same CVE in the primary databases and aggregators, to check against.

Record last updated .