Live threats

All CVEs / Rubyonrails

CVE-2022-22577Rubyonrails Actionpack

Medium 6.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Actionpack.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
rubyonrailsactionpack≥ 5.2.0 < 5.2.7.1
rubyonrailsactionpack≥ 6.0.0 < 6.0.4.8
rubyonrailsactionpack≥ 6.1.0 < 6.1.5.1
rubyonrailsactionpack≥ 7.0.0 < 7.0.2.4
debiandebian_linux10.0

Official sources

References

Links published by the sources. Open them with care.