# CVE-2022-3704: Cross-site Scripting in actionpack

Source: https://junglewise.ai/threats/cve-2022-3704-cross-site-scripting-in-actionpack  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-10-27  
License: CC BY 4.0 with a link back

CVE-2022-3704 · Severity: low · CVSS 3.1 · Published 2022-10-27

Cross-site Scripting in actionpack

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

## Quick answers

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

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

**Which products and versions are affected?** actionpack (RubyGems) ECOSYSTEM:introduced=0,last_affected=7.0.4.

**Is there a fix for CVE-2022-3704?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2022-3704?** 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.

## Affected products

- actionpack (RubyGems) ECOSYSTEM:introduced=0,last_affected=7.0.4

## Identifiers

- CVE-2022-3704
- GHSA-9chr-4fjh-5rgw

## 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)
