# CVE-2023-28362: Actionpack has possible cross-site scripting vulnerability via User Supplied Values to redirect_to

Source: https://junglewise.ai/threats/cve-2023-28362-actionpack-has-possible-cross-site-scripting-vulnerability-via  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-06-29  
License: CC BY 4.0 with a link back

CVE-2023-28362 · Severity: low · CVSS 3.1 · Published 2023-06-29

Actionpack has possible cross-site scripting vulnerability via User Supplied Values to redirect_to

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

## Quick answers

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

**How severe is CVE-2023-28362?** Low severity, with a CVSS score of 3.1, published 29 June 2023.

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

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

**Am I affected by CVE-2023-28362?** 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 6.1.7.4 or later

  ```sh
  bundle update actionpack
  ```


## Affected products

- actionpack (RubyGems) ECOSYSTEM:introduced=0,fixed=6.1.7.4

## Identifiers

- CVE-2023-28362
- GHSA-4g8v-vg43-wpgf

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