CVE-2009-3009Rubyonrails Rails
Medium 4.3 No auth needed
Follow: this CVE · Rubyonrails · Rubyonrails Rails We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 2.0
- 4.3
- EPSS
- 3.0% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Sep 8, 2009
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
What happens
Cross-site scripting (XSS) vulnerability in Ruby on Rails 2.x before 2.2.3, and 2.3.x before 2.3.4, allows remote attackers to inject arbitrary web script or HTML by placing malformed Unicode strings into a form helper.
What to do
- Apply the vendor's security update for Rails.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | actionpack |
≥ 2.0.0 < 2.2.3 |
2.2.3 |
gem "actionpack", ">= 2.2.3" |
| RubyGems | actionpack |
≥ 2.3.0 < 2.3.4 |
2.3.4 |
gem "actionpack", ">= 2.3.4" |
| RubyGems | activesupport |
≥ 2.0.0 < 2.2.3 |
2.2.3 |
gem "activesupport", ">= 2.2.3" |
| RubyGems | activesupport |
≥ 2.3.0 < 2.3.4 |
2.3.4 |
gem "activesupport", ">= 2.3.4" |
Per OSV / GitHub Advisories (GHSA-8qrh-h9m2-5fvf). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rubyonrails | rails | 2.0.0 |
| rubyonrails | rails | 2.0.0 |
| rubyonrails | rails | 2.0.0 |
| rubyonrails | rails | 2.0.1 |
| rubyonrails | rails | 2.0.2 |
| rubyonrails | rails | 2.0.4 |
| rubyonrails | rails | 2.1.0 |
| rubyonrails | rails | 2.1.1 |
| rubyonrails | rails | 2.1.2 |
| rubyonrails | rails | 2.2.0 |
| rubyonrails | rails | 2.2.1 |
| rubyonrails | rails | 2.2.2 |
| rubyonrails | rails | 2.3.2 |
| rubyonrails | rails | 2.3.3 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.debian.org
- groups.google.com Patch
- lists.apple.com
- lists.opensuse.org
- secunia.com Vendor Advisory
- secunia.com Vendor Advisory
- securitytracker.com Patch
- support.apple.com
- weblog.rubyonrails.org
- www.debian.org
- www.osvdb.org
- www.securityfocus.com
- www.vupen.com Patch Vendor Advisory
- exchange.xforce.ibmcloud.com