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 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.
- EPSS
- 2.5% chance of exploitation in the next 30 days; higher than 84% of CVEs (scores of 2026-10-31)
- CWE
- CWE-79
- Published
- Modified
- Record from
- the NVD, synced
Affected
- rubyonrails:rails
- rubyonrails:ruby_on_rails
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-v5jg-558j-q67c | RubyGems | actionpack | >=2.0.0 <2.3.13 | 2.3.13 |
| GHSA-v5jg-558j-q67c | RubyGems | actionpack | >=3.0.0 <3.0.10 | 3.0.10 |
References
- http://groups.google.com/group/rubyonrails-security/msg/fd41ab62966e0fd1?dmode=source&output=gplain
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065109.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065137.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065212.html
- http://secunia.com/advisories/45921