Unscored severity · published Aug 29, 2011
CVE-2011-2931
Cross-site scripting (XSS) vulnerability in the strip_tags helper in actionpack/lib/action_controller/vendor/html-scanner/html/node.rb in Ruby on Rails before 2.3.13, 3.0.x before…
–
CVSS
2.5%
EPSS
No
On KEV
Description
Cross-site scripting (XSS) vulnerability in the strip_tags helper in actionpack/lib/action_controller/vendor/html-scanner/html/node.rb in Ruby on Rails before 2.3.13, 3.0.x before 3.0.10, and 3.1.x before 3.1.0.rc5 allows remote attackers to inject arbitrary web script or HTML via a tag with an invalid name.
Exploitation
Is it being used?
Exploit prediction (EPSS)2.5% · higher than 85% 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-2931
CVE.org
https://www.cve.org/CVERecord?id=CVE-2011-2931
Patch
http://groups.google.com/group/rubyonrails-security/msg/fd41ab62966e0fd1?dmode=source&output=gplain
lists.fedoraproject.org
http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065109.html
lists.fedoraproject.org
http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065137.html
lists.fedoraproject.org
http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065212.html
secunia.com
http://secunia.com/advisories/45921
Patch
http://weblog.rubyonrails.org/2011/8/16/ann-rails-3-1-0-rc6
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 missing security headers on non-HTML responses
