CVE-2022-22577Rubyonrails Actionpack
Medium 6.1 No auth needed
Follow: this CVE · Rubyonrails · Rubyonrails Actionpack We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- No
- Published
- May 26, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Actionpack.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | actionpack |
≥ 5.2.0 < 5.2.7.1 |
5.2.7.1 |
gem "actionpack", ">= 5.2.7.1" |
| RubyGems | actionpack |
≥ 6.0.0 < 6.0.4.8 |
6.0.4.8 |
gem "actionpack", ">= 6.0.4.8" |
| RubyGems | actionpack |
≥ 6.1.0 < 6.1.5.1 |
6.1.5.1 |
gem "actionpack", ">= 6.1.5.1" |
| RubyGems | actionpack |
≥ 7.0.0 < 7.0.2.4 |
7.0.2.4 |
gem "actionpack", ">= 7.0.2.4" |
Per OSV / GitHub Advisories (GHSA-mm33-5vfq-3mm3). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rubyonrails | actionpack | ≥ 5.2.0 < 5.2.7.1 |
| rubyonrails | actionpack | ≥ 6.0.0 < 6.0.4.8 |
| rubyonrails | actionpack | ≥ 6.1.0 < 6.1.5.1 |
| rubyonrails | actionpack | ≥ 7.0.0 < 7.0.2.4 |
| debian | debian_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- discuss.rubyonrails.org Patch Vendor Advisory
- lists.debian.org Mailing List Third Party Advisory
- security.netapp.com Third Party Advisory
- www.debian.org