CVE-2011-2931
actionpack Cross-site Scripting vulnerability
EPSS 0.81%
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.
How to fix CVE-2011-2931
To remediate CVE-2011-2931, upgrade the affected package to a fixed version below.
- Debian/rails—upgrade to 2.3.14 or later
- RubyGems/actionpack—upgrade to 2.3.13 or later
Is CVE-2011-2931 being exploited?
Low — EPSS is 0.8%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2.3.14
- >= 2.0.0, < 2.3.13