CVE-2011-2931
mediumpriority · track · 18EPSS 0.025 · 85 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.7–4.3
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (33)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-v5jg-558j-q67cactionpack Cross-site Scripting vulnerability2017-10-24ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (45)
External citations — patches, advisories, analysis.
- http://groups.google.com/group/rubyonrails-security/msg/fd41ab62966e0fd1?dmode=source&output=gplaincnnvd
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065109.htmlcnnvd
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065137.htmlcnnvd
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065212.htmlcnnvd
- http://secunia.com/advisories/45921cnnvd
- http://weblog.rubyonrails.org/2011/8/16/ann-rails-3-1-0-rc6cnnvd
- http://www.debian.org/security/2011/dsa-2301cnnvd
- http://www.openwall.com/lists/oss-security/2011/08/17/1cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan