Unscored severity · published Jun 30, 2011
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 not properly handle mutation of safe…
–
CVSS
2%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)2.0% · higher than 80% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RA
Rails · Rubyonrails
2.0.0; 2.0.0; 2.0.0; 2.0.1; 2.0.2; 2.0.4; +34 more · source: NVD
RO
Ruby ON Rails · Rubyonrails
3.0.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2011-2197
CVE.org
https://www.cve.org/CVERecord?id=CVE-2011-2197
Patch
http://groups.google.com/group/rubyonrails-security/msg/663b600d4471e0d4?dmode=source&output=gplain
lists.fedoraproject.org
http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062514.html
lists.fedoraproject.org
http://lists.fedoraproject.org/pipermail/package-announce/2011-June/062090.html
Patch
http://openwall.com/lists/oss-security/2011/06/09/2
Patch
http://openwall.com/lists/oss-security/2011/06/13/9
Vendor Advisory
http://secunia.com/advisories/44789
More from Rails
7.5
CVE-2019-5418
Rails Ruby on Rails Path Traversal Vulnerability
7.5
CVE-2016-0752
Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 allows…
7.5
CVE-2014-0130
Directory traversal vulnerability in actionpack/lib/abstract_controller/base.rb in the implicit-render implementation in Ruby on Rails before 3.2.18, 4.0.x before 4.0.5, and 4.1.x…
9.8
CVE-2026-33195
Rails Active Storage has possible Path Traversal in DiskService
9.8
CVE-2024-28103
Action Pack is a framework for handling and responding to web requests
