# CVE-2022-22577: Cross-site Scripting Vulnerability in Action Pack

Source: https://junglewise.ai/threats/cve-2022-22577-cross-site-scripting-vulnerability-in-action-pack  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-04-27  
License: CC BY 4.0 with a link back

CVE-2022-22577 · Severity: low · CVSS 3.1 · Published 2022-04-27

Cross-site Scripting Vulnerability in Action Pack

Technologies: [actionpack (RubyGems)](https://junglewise.ai/threats/technologies/actionpack). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2022-22577 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-22577 being exploited in the wild.

**How severe is CVE-2022-22577?** Low severity, with a CVSS score of 3.1, published 27 April 2022.

**Which products and versions are affected?** actionpack (RubyGems) ECOSYSTEM:introduced=5.2.0,fixed=5.2.7.1.

**Is there a fix for CVE-2022-22577?** Yes. actionpack (RubyGems): upgrade to 5.2.7.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-22577?** Check whether you run actionpack (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- actionpack (RubyGems): upgrade to 5.2.7.1 or later

  ```sh
  bundle update actionpack
  ```


## Affected products

- actionpack (RubyGems) ECOSYSTEM:introduced=5.2.0,fixed=5.2.7.1

## Identifiers

- CVE-2022-22577
- GHSA-mm33-5vfq-3mm3

## Related threats

- [Rails Action Pack remote IP spoofing in request handling](https://junglewise.ai/threats/cve-2026-126083-action-pack-is-a-framework-for-handling-and-responding-to-web)
- [Rails Action Pack mass assignment bypass in Parameters#each_key](https://junglewise.ai/threats/cve-2026-126081-action-pack-is-a-framework-for-handling-and-responding-to-web)
- [Rails Action Pack session cookie exposure in cached responses](https://junglewise.ai/threats/cve-2026-126077-action-pack-is-a-framework-for-handling-and-responding-to-web)
- [Ruby on Rails Action Pack session restoration after logout](https://junglewise.ai/threats/cve-2026-126076-action-pack-is-a-framework-for-handling-and-responding-to-web)
- [Rails Action Pack cache poisoning via content-type negotiation](https://junglewise.ai/threats/cve-2026-126073-action-pack-is-a-framework-for-handling-and-responding-to-web)
