CVE-2012-3465: rubyonrails rails Cross-site Scripting
CVSS: 4.3v2.0MediumModified
AliasesDEBIAN-CVE-2012-3465GHSA-7g65-ghrg-hpf5
Published 10-08-2012Last modified 06-08-2024
Vulnerability summary
CVE-2012-3465 is a medium (CVSS 4.3) Cross-site Scripting vulnerability in rubyonrails rails. EPSS estimates a 1.98% chance of exploitation in the next 30 days, higher than 80.2% of scored vulnerabilities.
CVSS score
4.3/10
010
Medium · v2.0 (NVD)EPSS score
1.98%
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 2Timeline
- 10-08-2012PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
Description
Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/sanitize_helper.rb in the strip_tags helper in Ruby on Rails before 3.0.17, 3.1.x before 3.1.8, and 3.2.x before 3.2.8 allows remote attackers to inject arbitrary web script or HTML via malformed HTML markup.
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
1.98%
Chance of exploitation in the next 30 days
Percentile
80%
Versus all other CVEs
30-day change
0.00 pp
From 1.98% on 20-09-2026
20-09-202620-10-2026
EPSS score1.98%
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
- rails0.9.1 | 0.9.2 | 0.9.3 | 0.9.4 | 0.9.4.1 | 0.10.0 | 0.10.1 | 0.11.0 | 0.11.1 | 0.12.0 | 0.12.1 | 0.13.0 | 0.13.1 | 0.14.1 | 0.14.2 | 0.14.3 | 0.14.4 | 1.0.0 | 1.1.0 | 1.1.1 | 1.1.2 | 1.1.3 | 1.1.4 | 1.1.5 | 1.1.6 | 1.2.0 | 1.2.1 | 1.2.2 |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16 | 0.5.0 | 0.5.5 | 0.5.6 | 0.5.7 | 0.6.0 | 0.6.5 | 0.7.0 | 0.8.0 | 0.8.5 | 0.9.0 | 3.0.4
Debian1 product
- rails< 2.3.14.1
RubyGems1 product
- actionpack≥ 3.0.0.beta, < 3.0.17 | ≥ 3.1.0, < 3.1.8 | ≥ 3.2.0, < 3.2.8 | < 2.3.16
3 vendors · 4 products
References
10 links- weblog.rubyonrails.org/2012/8/9/ann-rails-3-2-8-has-been-released/X Refsource CONFIRMVendor Advisory
- groups.google.com/group/rubyonrails-security/msg/7fbb5392d4d282b5?dmode=source&output=gplainMailing ListX Refsource MLISTWEB
- github.com/rails/railsPACKAGE