Back
CVE-2022-22577An 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.
- 6.1MediumCVSS base score
- 1.8%Exploitation in 30 daysEPSS · top 21% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By hackerone
- 5 months later
· 5 months later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 1.8% · top 21% of all CVEs (15 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Affected products
https://github.com/rails/rails
- affected 7.0.2.4, 6.1.5.1, 6.0.4.8, 5.2.7.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsactionpackGHSA-mm33-5vfq-3mm3 (opens in a new tab)
References
References4
- https://discuss.rubyonrails.org/t/cve-2022-22577-possible-xss-vulnerability-in-action-pack/80533 (opens in a new tab)x_transferred
- [debian-lts-announce] 20220903 [SECURITY] [DLA 3093-1] rails security update (opens in a new tab)mailing-listx_transferred
- https://security.netapp.com/advisory/ntap-20221118-0002/ (opens in a new tab)x_transferred
- DSA-5372 (opens in a new tab)vendor-advisoryx_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)
- EUVD EUVD-2022-1786 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-mm33-5vfq-3mm3 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-22577)Record last updated .