# CVE-2009-3009: Cross site scripting that affects rails

- Severity: Medium 4.3 (CVSS:2.0, scored by NVD) `AV:N/AC:M/Au:N/C:N/I:P/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.02%, higher than 87% of CVEs (2026-12-01)
- Published: 2009-09-08T18:00:00.000Z
- Modified: 2026-06-16T23:10:42.977Z
- Also known as: GHSA-8qrh-h9m2-5fvf
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- actionpack (RubyGems): from 2.0.0 before 2.2.3; from 2.3.0 before 2.3.4
- activesupport (RubyGems): from 2.0.0 before 2.2.3; from 2.3.0 before 2.3.4
- rubyonrails rails: 2.0.0; 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

## Every score

- GitHub: rating Medium
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <http://www.securityfocus.com/bid/36278> (vdb-entry, web)
- <http://weblog.rubyonrails.org/2009/9/4/xss-vulnerability-in-ruby-on-rails> (web)
- <http://secunia.com/advisories/36600> (third-party-advisory, vendor-advisory, web)
- <http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html> (vendor-advisory, web)
- <http://www.vupen.com/english/advisories/2009/2544> (patch, vdb-entry, vendor-advisory, web)
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/53036> (vdb-entry, web)
- <http://support.apple.com/kb/HT4077> (web)
- <http://www.debian.org/security/2009/dsa-1887> (vendor-advisory, web)
- <http://groups.google.com/group/rubyonrails-security/msg/7f57cd7794e1d1b4?dmode=source> (mailing-list, patch, web)
- <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545063> (web)
- <http://www.osvdb.org/57666> (vdb-entry, web)
- <http://securitytracker.com/id?1022824> (patch, vdb-entry, web)
- <http://secunia.com/advisories/36717> (third-party-advisory, vendor-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2009-10/msg00004.html> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2009-3009> (advisory)
- <https://github.com/advisories/GHSA-8qrh-h9m2-5fvf> (advisory)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2009-3009.yml> (web)

## Sources

- CVE List: [CVE-2009-3009](https://www.cve.org/CVERecord?id=CVE-2009-3009), CVE Terms of Use, modified 2024-08-07
- GitHub Advisory Database: [GHSA-8qrh-h9m2-5fvf](https://github.com/advisories/GHSA-8qrh-h9m2-5fvf), CC-BY-4.0, modified 2025-04-09
- NVD: [CVE-2009-3009](https://nvd.nist.gov/vuln/detail/CVE-2009-3009), Public domain, modified 2026-06-16

---

Page: https://cve.day/CVE-2009-3009 · Whole record: https://cve.day/CVE-2009-3009.json · Rebuilt by cve.day 2026-11-25T22:57:06.249Z
