CVE-2009-4214
Ruby packages · 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 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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 3.022% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:19.552Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:43.432Z | OSV |
| affected | verified | 2026-11-19T12:54:09.593Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:54:09.593Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "http://groups.google.com/group/rubyonrails-security/browse_thread/thread/4d4f71f2aef4c0ab?pli=1",
"name": "[rubyonrails-security] 20091127 XSS Weakness in strip_tags",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
]
},
{
"url": "http://secunia.com/advisories/37446",
"name": "37446",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA",
"x_transferred"
]
},
{
"url": "http://www.vupen.com/english/advisories/2009/3352",
"name": "ADV-2009-3352",
"tags": [
"vdb-entry",
"x_refsource_VUPEN",
"x_transferred"
]
},
{
"url": "http://www.debian.org/security/2011/dsa-2301",
"name": "DSA-2301",
"tags": [
"vendor-advisory",
"x_refsource_DEBIAN",
"x_transferred"
]
},
{
"url": "http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html",
"name": "APPLE-SA-2010-03-29-1",
"tags": [
"vendor-advisory",
"x_refsource_APPLE",
"x_transferred"
]
},
{
"url": "http://weblog.rubyonrails.org/2009/11/30/ruby-on-rails-2-3-5-released",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "http://www.securityfocus.com/bid/37142",
"name": "37142",
"tags": [
"vdb-entry",
"x_refsource_BID",
"x_transferred"
]
},
{
"url": "http://www.debian.org/security/2011/dsa-2260",
"name": "DSA-2260",
"tags": [
"vendor-advisory",
"x_refsource_DEBIAN",
"x_transferred"
]
},
{
"url": "http://www.openwall.com/lists/oss-security/2009/11/27/2",
"name": "[oss-security] 20091127 CVE request: ruby on rails XSS Weakness in strip_tags",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
]
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html",
"name": "SUSE-SR:2010:006",
"tags": [
"vendor-advisory",
"x_refsource_SUSE",
"x_transferred"
]
},
{
"url": "http://support.apple.com/kb/HT4077",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "http://www.securitytracker.com/id?1023245",
"name": "1023245",
"tags": [
"vdb-entry",
"x_refsource_SECTRACK",
"x_transferred"
]
},
{
"url": "http://secunia.com/advisories/38915",
"name": "38915",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA",
"x_transferred"
]
},
{
"url": "http://www.openwall.com/lists/oss-security/2009/12/08/3",
"name": "[oss-security] 20091208 Re: CVE request: ruby on rails XSS Weakness in strip_tags",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
]
},
{
"url": "http://github.com/rails/rails/commit/bfe032858077bb2946abe25e95e485ba6da86bd5",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-07T06:54:09.938Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-9p3v-wf2w-v29c",
"aliases": [
"CVE-2009-4214"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2.2"
}
]
}
],
"package": {
"name": "rails",
"purl": "pkg:gem/rails",
"ecosystem": "RubyGems"
},
"versions": [
"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",
"0.8.0",
"0.8.5",
"0.9.0",
"0.9.1",
"0.9.2",
"0.9.3",
"0.9.4",
"0.9.4.1",
"0.9.5",
"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",
"2.0.0",
"2.0.1",
"2.0.2",
"2.0.4",
"2.0.5",
"2.1.0",
"2.1.1",
"2.1.2"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-9p3v-wf2w-v29c/GHSA-9p3v-wf2w-v29c.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.3.0"
},
{
"fixed": "2.3.5"
}
]
}
],
"package": {
"name": "rails",
"purl": "pkg:gem/rails",
"ecosystem": "RubyGems"
},
"versions": [
"2.3.2",
"2.3.3",
"2.3.4"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-9p3v-wf2w-v29c/GHSA-9p3v-wf2w-v29c.json"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2009-4214",
"type": "ADVISORY"
},
{
"url": "https://github.com/advisories/GHSA-9p3v-wf2w-v29c",
"type": "ADVISORY"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2009-4214.yml",
"type": "WEB"
},
{
"url": "http://github.com/rails/rails",
"type": "PACKAGE"
},
{
"url": "http://github.com/rails/rails/commit/bfe032858077bb2946abe25e95e485ba6da86bd5",
"type": "WEB"
},
{
"url": "http://groups.google.com/group/rubyonrails-security/browse_thread/thread/4d4f71f2aef4c0ab?pli=1",
"type": "WEB"
},
{
"url": "http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html",
"type": "WEB"
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html",
"type": "WEB"
},
{
"url": "http://secunia.com/advisories/37446",
"type": "WEB"
},
{
"url": "http://secunia.com/advisories/38915",
"type": "WEB"
},
{
"url": "http://support.apple.com/kb/HT4077",
"type": "WEB"
},
{
"url": "http://weblog.rubyonrails.org/2009/11/30/ruby-on-rails-2-3-5-released",
"type": "WEB"
},
{
"url": "http://www.debian.org/security/2011/dsa-2260",
"type": "WEB"
},
{
"url": "http://www.debian.org/security/2011/dsa-2301",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2009/11/27/2",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2009/12/08/3",
"type": "WEB"
},
{
"url": "http://www.securityfocus.com/bid/37142",
"type": "WEB"
},
{
"url": "http://www.securitytracker.com/id?1023245",
"type": "WEB"
},
{
"url": "http://www.vupen.com/english/advisories/2009/3352",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2009-12-07T17:30:00Z",
"github_reviewed_at": "2020-06-16T21:29:07Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | RubyGems / package | rails | Not a distribution channel | 2.2.2 | Official record |
| ecosystem-boundary | RubyGems / package | rails | Not a distribution channel | 2.3.5 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T12:54:09.593ZArchived source JSON
Source publication: 2009-12-07T17:00:00.000Z
Source modification: 2024-08-07T06:54:09.938ZDocument fingerprint
b6b27fc96b62969ea2d96e7385209674f420914007166ba12535860b627ed06b - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T12:52:43.432ZArchived source JSON
Source publication: 2017-10-24T18:33:38.000Z
Source modification: 2025-04-09T20:05:53.148ZDocument fingerprint
5bf0bb815157f29e8a4a9209a55de275623e2ad04900bfa2b2367ee77f1bde4f - FIRST EPSSConsulted: 2026-11-19T16:04:19.552ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
756ef593bfc7d946718220428087bc9598608042f7b00124df35e9c216207507
Official status history
- UNKNOWN → PUBLISHED · · evidence