CVE-2007-3227
Ruby packages · CVE-2007-3227
Cross-site scripting (XSS) vulnerability in the to_json (ActiveRecord::Base#to_json) function in Ruby on Rails before edge 9606 allows remote attackers to inject arbitrary web script via the input values.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 3.683% · 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-19T15:55:09.885Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T15:55:09.885Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:19.140Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:43.432Z | OSV |
| affected | verified | 2026-11-19T12:54:02.825Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:54:02.825Z | 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://pastie.caboo.se/65550.txt",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "http://secunia.com/advisories/25699",
"name": "25699",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA",
"x_transferred"
]
},
{
"url": "http://www.vupen.com/english/advisories/2007/2216",
"name": "ADV-2007-2216",
"tags": [
"vdb-entry",
"x_refsource_VUPEN",
"x_transferred"
]
},
{
"url": "http://security.gentoo.org/glsa/glsa-200711-17.xml",
"name": "GLSA-200711-17",
"tags": [
"vendor-advisory",
"x_refsource_GENTOO",
"x_transferred"
]
},
{
"url": "http://secunia.com/advisories/27756",
"name": "27756",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA",
"x_transferred"
]
},
{
"url": "http://osvdb.org/36378",
"name": "36378",
"tags": [
"vdb-entry",
"x_refsource_OSVDB",
"x_transferred"
]
},
{
"url": "http://bugs.gentoo.org/show_bug.cgi?id=195315",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "http://weblog.rubyonrails.org/2007/10/12/rails-1-2-5-maintenance-release",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "http://weblog.rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "http://www.novell.com/linux/security/advisories/2007_24_sr.html",
"name": "SUSE-SR:2007:024",
"tags": [
"vendor-advisory",
"x_refsource_SUSE",
"x_transferred"
]
},
{
"url": "http://secunia.com/advisories/27657",
"name": "27657",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA",
"x_transferred"
]
},
{
"url": "http://dev.rubyonrails.org/ticket/8371",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "http://www.securityfocus.com/bid/24161",
"name": "24161",
"tags": [
"vdb-entry",
"x_refsource_BID",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-07T14:05:29.598Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-gm25-fpmr-43fj",
"aliases": [
"CVE-2007-3227"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.5"
}
]
}
],
"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"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-gm25-fpmr-43fj/GHSA-gm25-fpmr-43fj.json"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2007-3227",
"type": "ADVISORY"
},
{
"url": "https://github.com/advisories/GHSA-gm25-fpmr-43fj",
"type": "ADVISORY"
},
{
"url": "https://github.com/rails/rails",
"type": "PACKAGE"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2007-3227.yml",
"type": "WEB"
},
{
"url": "http://bugs.gentoo.org/show_bug.cgi?id=195315",
"type": "WEB"
},
{
"url": "http://dev.rubyonrails.org/ticket/8371",
"type": "WEB"
},
{
"url": "http://osvdb.org/36378",
"type": "WEB"
},
{
"url": "http://pastie.caboo.se/65550.txt",
"type": "WEB"
},
{
"url": "http://secunia.com/advisories/25699",
"type": "WEB"
},
{
"url": "http://secunia.com/advisories/27657",
"type": "WEB"
},
{
"url": "http://secunia.com/advisories/27756",
"type": "WEB"
},
{
"url": "http://security.gentoo.org/glsa/glsa-200711-17.xml",
"type": "WEB"
},
{
"url": "http://weblog.rubyonrails.org/2007/10/12/rails-1-2-5-maintenance-release",
"type": "WEB"
},
{
"url": "http://weblog.rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release",
"type": "WEB"
},
{
"url": "http://www.novell.com/linux/security/advisories/2007_24_sr.html",
"type": "WEB"
},
{
"url": "http://www.securityfocus.com/bid/24161",
"type": "WEB"
},
{
"url": "http://www.vupen.com/english/advisories/2007/2216",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2007-06-14T23:30:00Z",
"github_reviewed_at": "2020-06-16T21:37:37Z"
}
}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 | 1.2.5 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CISA KEVConsulted: 2026-11-19T15:55:09.885ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:54:02.825ZArchived source JSON
Source publication: 2007-06-14T23:00:00.000Z
Source modification: 2024-08-07T14:05:29.598ZDocument fingerprint
394cc312bed8e72f5f53b9522e52e5262cea2310c3f0dee5d63e359c2ced07b3 - OSVConsulted: 2026-11-19T12:52:43.432ZArchived source JSON
Source publication: 2017-10-24T18:33:38.000Z
Source modification: 2025-04-09T15:30:21.670ZDocument fingerprint
5bf0bb815157f29e8a4a9209a55de275623e2ad04900bfa2b2367ee77f1bde4f - FIRST EPSSConsulted: 2026-11-19T16:04:19.140ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
4078a461f45c74fd5b614b76552aa53fd73722f0f1b3ecbf5d20fb4b0692b9e8
Official status history
- UNKNOWN → PUBLISHED · · evidence