CVE-2011-2931: rubyonrails rails Cross-site Scripting
CVSS: 4.3v2.0MediumModified
AliasesDEBIAN-CVE-2011-2931GHSA-v5jg-558j-q67c
Published 29-08-2011Last modified 06-08-2024
Vulnerability summary
CVE-2011-2931 is a medium (CVSS 4.3) Cross-site Scripting vulnerability in rubyonrails rails. EPSS estimates a 2.49% chance of exploitation in the next 30 days, higher than 84.5% of scored vulnerabilities.
CVSS score
4.3/10
010
Medium · v2.0 (NVD)EPSS score
2.49%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 1Timeline
- 29-08-2011PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
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 metrics
1 score · 1 source · 1 versionMedium 4.3Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:N/I:P/A:NSourcesSingle source
EPSS trend
Probability
2.49%
Chance of exploitation in the next 30 days
Percentile
85%
Versus all other CVEs
30-day change
0.00 pp
From 2.49% on 21-09-2026
21-09-202621-10-2026
EPSS score2.49%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Rubyonrails2 products
- rails2.0.0 | 2.0.0:rc1 | 2.0.0:rc2 | 2.0.1 | 2.0.2 | 2.0.4 | 2.1.0 | 2.1.1 | 2.1.2 | 2.2.0 | 2.2.1 | 2.2.2 | 2.3.2 | 2.3.3 | 2.3.4 | 2.3.9 | 2.3.10 | 2.3.11 | 2.3.12 | 3.0.0 | 3.0.0:beta | 3.0.0:beta2 | 3.0.0:beta3 | 3.0.0:beta4 | 3.0.0:rc | 3.0.0:rc2 | 3.0.1 | 3.0.1:pre | 3.0.2 | 3.0.2:pre | 3.0.3 | 3.0.4:rc1 | 3.0.5 | 3.0.5:rc1 | 3.0.6 | 3.0.6:rc1 | 3.0.6:rc2 | 3.0.7 | 3.0.7:rc1 | 3.0.7:rc2 | 3.0.8 | 3.0.8:rc1 | 3.0.8:rc2 | 3.0.8:rc3 | 3.0.8:rc4 | 3.0.9 | 3.0.9:rc1 | 3.0.9:rc2 | 3.0.9:rc3 | 3.0.9:rc4 | 3.0.9:rc5 | 3.0.10:rc1 | 3.1.0 | 3.1.0:beta1 | 3.1.0:rc1 | 3.1.0:rc2 | 3.1.0:rc3 | 3.1.0:rc4
- ruby_on_rails3.0.4
Debian1 product
- rails< 2.3.14
RubyGems1 product
- actionpack≥ 2.0.0, < 2.3.13 | ≥ 3.0.0, < 3.0.10
3 vendors · 4 products
References
20 links- groups.google.com/group/rubyonrails-security/msg/fd41ab62966e0fd1?dmode=source&output=gplainMailing ListX Refsource MLISTPatchWEB
- lists.fedoraproject.org/pipermail/package-announce/2011-September/065212.htmlVendor AdvisoryX Refsource FEDORAWEB
- lists.fedoraproject.org/pipermail/package-announce/2011-September/065137.htmlVendor AdvisoryX Refsource FEDORAWEB
Show all 20 references
- lists.fedoraproject.org/pipermail/package-announce/2011-September/065109.htmlVendor AdvisoryX Refsource FEDORAWEB
- github.com/rails/railsPACKAGE