Back
CVE-2009-4214
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…
Medium4.3EPSS 3.0%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
- EPSS (exploitation in 30 days)
- 3.0% · top 12% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsrailsGHSA-9p3v-wf2w-v29c (opens in a new tab)
References (15)
- [rubyonrails-security] 20091127 XSS Weakness in strip_tags (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 37446 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2009-3352 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- DSA-2301 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- APPLE-SA-2010-03-29-1 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- http://weblog.rubyonrails.org/2009/11/30/ruby-on-rails-2-3-5-released (opens in a new tab)x_refsource_CONFIRMx_transferred
- 37142 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- DSA-2260 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- [oss-security] 20091127 CVE request: ruby on rails XSS Weakness in strip_tags (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- SUSE-SR:2010:006 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- http://support.apple.com/kb/HT4077 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 1023245 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- 38915 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- [oss-security] 20091208 Re: CVE request: ruby on rails XSS Weakness in strip_tags (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://github.com/rails/rails/commit/bfe032858077bb2946abe25e95e485ba6da86bd5 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-9p3v-wf2w-v29c (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2009-4214)Record last updated .