4.3

CVE-2011-2197: rubyonrails rails Cross-site Scripting

CVSS: 4.3v2.0MediumModified
AliasesGHSA-v9v4-7jp6-8c73
Published 30-06-2011Last modified 06-08-2024

Vulnerability summary

CVE-2011-2197 is a medium (CVSS 4.3) Cross-site Scripting vulnerability in rubyonrails rails. EPSS estimates a 1.96% chance of exploitation in the next 30 days, higher than 80% of scored vulnerabilities.

Overall risk
18/100
0100
Low · default modelHow is this calculated?
CVSS score
4.3/10
010
Medium · v2.0 (NVD)
EPSS score
1.96%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 30-06-2011
    PublishedVulnerability first disclosed.
  2. 06-08-2024
    Last modifiedVulnerability information updated.

Description

The cross-site scripting (XSS) prevention feature in Ruby on Rails 2.x before 2.3.12, 3.0.x before 3.0.8, and 3.1.x before 3.1.0.rc2 does not properly handle mutation of safe buffers, which makes it easier for remote attackers to conduct XSS attacks via crafted strings to an application that uses a problematic string method, as demonstrated by the sub method.

CVSS metrics

1 score · 1 source · 1 version

EPSS trend

Probability

1.96%

Chance of exploitation in the next 30 days

Percentile

80%

Versus all other CVEs

30-day change

0.00 pp

From 1.96% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.96%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

RubyGems2 products
  • actionpack≥ 2.0.0, < 2.3.12 | ≥ 3.0.0, < 3.0.8
  • activesupport≥ 2.0.0, < 2.3.12 | ≥ 3.0.0, < 3.0.8
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 | 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:rc1 | 3.0.8:rc2 | 3.0.8:rc3 | 3.0.8:rc4 | 3.1.0 | 3.1.0:beta1 | 3.1.0:rc1
  • ruby_on_rails3.0.4

2 vendors · 4 products

References

13 links
Show all 13 references