Staging Environment: Content and features may be unstable or change without notice.
Search for vulnerabilities
Vulnerability details: VCID-p1yd-keq8-rkh3
Vulnerability ID VCID-p1yd-keq8-rkh3
Aliases CVE-2011-2931
GHSA-v5jg-558j-q67c
Summary actionpack Cross-site Scripting vulnerability 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.
Status Published
Exploitability None
Weighted Severity None
Risk None
Affected and Fixed Packages Package Details
Weaknesses (3)
System Score Found at
generic_textual MODERATE http://groups.google.com/group/rubyonrails-security/msg/fd41ab62966e0fd1?dmode=source&output=gplain
generic_textual MODERATE http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065109.html
generic_textual MODERATE http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065137.html
generic_textual MODERATE http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065212.html
epss 0.00813 https://api.first.org/data/v1/epss?cve=CVE-2011-2931
generic_textual MODERATE https://bugzilla.redhat.com/show_bug.cgi?id=731436
cvssv3.1_qr MODERATE https://github.com/advisories/GHSA-v5jg-558j-q67c
generic_textual MODERATE https://github.com/advisories/GHSA-v5jg-558j-q67c
generic_textual MODERATE https://github.com/rails/rails
generic_textual MODERATE https://github.com/rails/rails/commit/586a944ddd4d03e66dea1093306147594748037a
generic_textual MODERATE https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2011-2931.yml
generic_textual MODERATE https://nvd.nist.gov/vuln/detail/CVE-2011-2931
generic_textual MODERATE http://weblog.rubyonrails.org/2011/8/16/ann-rails-3-1-0-rc6
generic_textual MODERATE http://www.debian.org/security/2011/dsa-2301
generic_textual MODERATE http://www.openwall.com/lists/oss-security/2011/08/17/1
generic_textual MODERATE http://www.openwall.com/lists/oss-security/2011/08/19/11
generic_textual MODERATE http://www.openwall.com/lists/oss-security/2011/08/20/1
generic_textual MODERATE http://www.openwall.com/lists/oss-security/2011/08/22/13
generic_textual MODERATE http://www.openwall.com/lists/oss-security/2011/08/22/14
generic_textual MODERATE http://www.openwall.com/lists/oss-security/2011/08/22/5
No exploits are available.
Exploit Prediction Scoring System (EPSS)
Percentile 0.7456
EPSS Score 0.00813
Published At May 29, 2026, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2026-05-29T08:57:09.245025+00:00 GithubOSV Importer Import https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-v5jg-558j-q67c/GHSA-v5jg-558j-q67c.json 38.6.0