CVE-2022-22577
Ruby packages · CVE-2022-22577
An XSS Vulnerability in Action Pack >= 5.2.0 and < 5.2.0 that could allow an attacker to bypass CSP for non HTML like responses.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.826% · 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-19T17:28:52.703Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:32.376Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:43.680Z | OSV |
| affected | verified | 2026-11-19T12:56:18.343Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:56:18.343Z | CVE Program |
Affected versions and configuration
n/a https://github.com/rails/rails; default status: unknown: 7.0.2.4, 6.1.5.1, 6.0.4.8, 5.2.7.1 [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": "https://github.com/rails/rails",
"versions": [
{
"status": "affected",
"version": "7.0.2.4, 6.1.5.1, 6.0.4.8, 5.2.7.1"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://discuss.rubyonrails.org/t/cve-2022-22577-possible-xss-vulnerability-in-action-pack/80533",
"tags": [
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2022/09/msg00002.html",
"name": "[debian-lts-announce] 20220903 [SECURITY] [DLA 3093-1] rails security update",
"tags": [
"mailing-list",
"x_transferred"
]
},
{
"url": "https://security.netapp.com/advisory/ntap-20221118-0002/",
"tags": [
"x_transferred"
]
},
{
"url": "https://www.debian.org/security/2023/dsa-5372",
"name": "DSA-5372",
"tags": [
"vendor-advisory",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-03T03:14:55.738Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-mm33-5vfq-3mm3",
"aliases": [
"CVE-2022-22577"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.2.0"
},
{
"fixed": "5.2.7.1"
}
]
}
],
"package": {
"name": "actionpack",
"purl": "pkg:gem/actionpack",
"ecosystem": "RubyGems"
},
"versions": [
"5.2.0",
"5.2.1",
"5.2.1.1",
"5.2.1.rc1",
"5.2.2",
"5.2.2.1",
"5.2.2.rc1",
"5.2.3",
"5.2.3.rc1",
"5.2.4",
"5.2.4.1",
"5.2.4.2",
"5.2.4.3",
"5.2.4.4",
"5.2.4.5",
"5.2.4.6",
"5.2.4.rc1",
"5.2.5",
"5.2.6",
"5.2.6.1",
"5.2.6.2",
"5.2.6.3",
"5.2.7"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-mm33-5vfq-3mm3/GHSA-mm33-5vfq-3mm3.json",
"last_known_affected_version_range": "<= 5.2.7.0"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.0.4.8"
}
]
}
],
"package": {
"name": "actionpack",
"purl": "pkg:gem/actionpack",
"ecosystem": "RubyGems"
},
"versions": [
"6.0.0",
"6.0.1",
"6.0.1.rc1",
"6.0.2",
"6.0.2.1",
"6.0.2.2",
"6.0.2.rc1",
"6.0.2.rc2",
"6.0.3",
"6.0.3.1",
"6.0.3.2",
"6.0.3.3",
"6.0.3.4",
"6.0.3.5",
"6.0.3.6",
"6.0.3.7",
"6.0.3.rc1",
"6.0.4",
"6.0.4.1",
"6.0.4.2",
"6.0.4.3",
"6.0.4.4",
"6.0.4.5",
"6.0.4.6",
"6.0.4.7"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-mm33-5vfq-3mm3/GHSA-mm33-5vfq-3mm3.json",
"last_known_affected_version_range": "<= 6.0.4.7"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.1.0"
},
{
"fixed": "6.1.5.1"
}
]
}
],
"package": {
"name": "actionpack",
"purl": "pkg:gem/actionpack",
"ecosystem": "RubyGems"
},
"versions": [
"6.1.0",
"6.1.1",
"6.1.2",
"6.1.2.1",
"6.1.3",
"6.1.3.1",
"6.1.3.2",
"6.1.4",
"6.1.4.1",
"6.1.4.2",
"6.1.4.3",
"6.1.4.4",
"6.1.4.5",
"6.1.4.6",
"6.1.4.7",
"6.1.5"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-mm33-5vfq-3mm3/GHSA-mm33-5vfq-3mm3.json",
"last_known_affected_version_range": "<= 6.1.5.0"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.0.2.4"
}
]
}
],
"package": {
"name": "actionpack",
"purl": "pkg:gem/actionpack",
"ecosystem": "RubyGems"
},
"versions": [
"7.0.0",
"7.0.1",
"7.0.2",
"7.0.2.1",
"7.0.2.2",
"7.0.2.3"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-mm33-5vfq-3mm3/GHSA-mm33-5vfq-3mm3.json",
"last_known_affected_version_range": "<= 7.0.2.3"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-22577",
"type": "ADVISORY"
},
{
"url": "https://github.com/rails/rails/pull/44635",
"type": "WEB"
},
{
"url": "https://github.com/rails/rails/commit/2b820a2a69fa50cffa74b4aedc57bf92ed6910ec",
"type": "WEB"
},
{
"url": "https://github.com/rails/rails/commit/5299b57d596ea274f77f5ffee2b79c6ee0255508",
"type": "WEB"
},
{
"url": "https://github.com/rails/rails/commit/8198d7c4accad0b6ba956b9d59528534a289866b",
"type": "WEB"
},
{
"url": "https://github.com/rails/rails/commit/d2253115ac2b30f5f7210670af906cebf79cf809",
"type": "WEB"
},
{
"url": "https://discuss.rubyonrails.org/t/cve-2022-22577-possible-xss-vulnerability-in-action-pack/80533",
"type": "WEB"
},
{
"url": "https://github.com/rails/rails",
"type": "PACKAGE"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2022-22577.yml",
"type": "WEB"
},
{
"url": "https://groups.google.com/g/ruby-security-ann/c/NuFRKaN5swI",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2022/09/msg00002.html",
"type": "WEB"
},
{
"url": "https://rubyonrails.org/2022/4/26/Rails-7-0-2-4-6-1-5-1-6-0-4-8-and-5-2-7-1-have-been-released",
"type": "WEB"
},
{
"url": "https://security.netapp.com/advisory/ntap-20221118-0002",
"type": "WEB"
},
{
"url": "https://www.debian.org/security/2023/dsa-5372",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2022-05-26T17:15:00Z",
"github_reviewed_at": "2022-04-27T22:28:59Z"
}
}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 | actionpack | Not a distribution channel | 5.2.7.1 | Official record |
| ecosystem-boundary | RubyGems / package | actionpack | Not a distribution channel | 6.0.4.8 | Official record |
| ecosystem-boundary | RubyGems / package | actionpack | Not a distribution channel | 6.1.5.1 | Official record |
| ecosystem-boundary | RubyGems / package | actionpack | Not a distribution channel | 7.0.2.4 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T12:52:43.680ZArchived source JSON
Source publication: 2022-04-27T22:28:59.000Z
Source modification: 2024-02-18T05:32:29.337ZDocument fingerprint
d399715cc7aaad5b333cd35318e478e46c7b6d1f171c2c980651710472a11e1c - CVE ProgramConsulted: 2026-11-19T12:56:18.343ZArchived source JSON
Source publication: 2022-05-26T00:00:00.000Z
Source modification: 2024-08-03T03:14:55.738ZDocument fingerprint
98ba5bb1485268a09b0510eae7d0b010cece08fcd49992cb43d52d3dae63f22b - FIRST EPSSConsulted: 2026-11-19T16:04:32.376ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
4d5217b2483c05232e728ff4c4aeff80a4cc51c89af7da0c5fa02c307b37b851
Official status history
- UNKNOWN → PUBLISHED · · evidence