XSS in Rubyonrails Rails
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.025 (84.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 84th percentile — 84.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.025 · newest: 0.025 · change: 0.000
Affected products
- Rubyonrails Rails — versions 2.0.0, 2.0.1, 2.0.2
- Rubyonrails Ruby On Rails — versions 3.0.4
Weakness classification (CWE)
References
- groups.google.com/group/rubyonrails-security/msg/fd41ab62966e0fd1 (mailing-list, Patch)
- www.openwall.com/lists/oss-security/2011/08/17/1 (mailing-list, Patch)
- www.openwall.com/lists/oss-security/2011/08/22/13 (mailing-list, Patch)
- lists.fedoraproject.org/pipermail/package-announce/2011-September/065212.html (vendor-advisory)
- lists.fedoraproject.org/pipermail/package-announce/2011-September/065137.html (vendor-advisory)
- bugzilla.redhat.com/show_bug.cgi (Patch)
- www.openwall.com/lists/oss-security/2011/08/19/11 (mailing-list, Patch)
- www.debian.org/security/2011/dsa-2301 (vendor-advisory)
- secunia.com/advisories/45921 (third-party-advisory)
- www.openwall.com/lists/oss-security/2011/08/20/1 (mailing-list, Patch)