What’s Vulnerable › Vulnerabilities

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

Description

The redirect_to method in Rails allows provided values to contain characters which are not legal in an HTTP header value. This results in the potential for downstream services which enforce RFC compliance on HTTP response headers to remove the assigned Location header.

Affected products

How to fix

Upgrade to a fixed version: Rubygems Actionpack 6.1.7.4, 7.0.5.1; Rails Action Pack 6.1.7.4, 7.0.5.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-28362 or the next vulnerability affects your stack