Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rubyonrails | Rails | 2.0.0 |
| Rubyonrails | Ruby On Rails | 3.0.4 |
Related Weaknesses (CWE)
References
- http://groups.google.com/group/rubyonrails-security/msg/fd41ab62966e0fd1?dmode=sPatch
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065109.
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065137.
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065212.
- http://secunia.com/advisories/45921
- http://weblog.rubyonrails.org/2011/8/16/ann-rails-3-1-0-rc6Patch
- http://www.debian.org/security/2011/dsa-2301
- http://www.openwall.com/lists/oss-security/2011/08/17/1Patch
- http://www.openwall.com/lists/oss-security/2011/08/19/11Patch
- http://www.openwall.com/lists/oss-security/2011/08/20/1Patch
- http://www.openwall.com/lists/oss-security/2011/08/22/13Patch
- http://www.openwall.com/lists/oss-security/2011/08/22/14
- http://www.openwall.com/lists/oss-security/2011/08/22/5Patch
- https://bugzilla.redhat.com/show_bug.cgi?id=731436Patch
- https://github.com/rails/rails/commit/586a944ddd4d03e66dea1093306147594748037aPatch
FAQ
What is CVE-2011-2931?
CVE-2011-2931 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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 be...
How severe is CVE-2011-2931?
CVE-2011-2931 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2011-2931?
Check the references section above for vendor advisories and patch information. Affected products include: Rubyonrails Rails, Rubyonrails Ruby On Rails.