CVE-2009-4214: rubyonrails rails Cross-site Scripting
Vulnerability summary
CVE-2009-4214 is a medium (CVSS 4.3) Cross-site Scripting vulnerability in rubyonrails rails. EPSS estimates a 3.02% chance of exploitation in the next 30 days, higher than 87.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Duplicates 1Timeline
- 07-12-2009PublishedVulnerability first disclosed.
- 07-08-2024Last modifiedVulnerability information updated.
Description
Cross-site scripting (XSS) vulnerability in the strip_tags function in Ruby on Rails before 2.2.s, and 2.3.x before 2.3.5, allows remote attackers to inject arbitrary web script or HTML via vectors involving non-printing ASCII characters, related to HTML::Tokenizer and actionpack/lib/action_controller/vendor/html-scanner/html/node.rb.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
3.02%
Chance of exploitation in the next 30 days
Percentile
87%
Versus all other CVEs
30-day change
0.00 pp
From 3.02% on 20-09-2026
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.3.2 | 2.3.3 | 2.3.4 | 0.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 | 1.2.3 | 1.2.4 | 1.2.5 | 1.2.6 | 1.9.5 | 2.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
- ruby_on_rails≤ 2.1.2 | 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
Debian1 product
- rails< 2.2.3-2
RubyGems1 product
- rails< 2.2.2 | ≥ 2.3.0, < 2.3.5
3 vendors · 4 products
References
20 links- groups.google.com/group/rubyonrails-security/browse_thread/thread/4d4f71f2aef4c0ab?pli=1Mailing ListX Refsource MLISTWEB
- lists.apple.com/archives/security-announce/2010//Mar/msg00001.htmlVendor AdvisoryX Refsource APPLEWEB
- lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.htmlVendor AdvisoryX Refsource SUSEWEB
Show all 20 references
- github.com/rails/railsPACKAGE