CVE-2023-28362

actionpack: Possible XSS via User Supplied Values to redirect_to

Published Jan 9, 2025 CVSS 3.1 · 4 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4383-1 rails security update
Debian DSA Debian DSA DSA-5881-1 rails security update
Github GHSA Github GHSA GHSA-4g8v-vg43-wpgf Actionpack has possible cross-site scripting vulnerability via User Supplied Values to redirect_to
History
Type Values Removed Values Added
Weaknesses CWE-116
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

cvssV3_1

{'score': 4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

Type Values Removed Values Added
Description A Cross-site Scripting (XSS) vulnerability was found in Actionpack due to improper sanitization of user-supplied values. This allows provided values to contain characters that 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. 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.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
May 2, 2025, 11:02 PM
Reserved
Mar 15, 2023, 1:00 AM
Status
Deferred
Published
Jan 9, 2025, 1:15 AM
Modified
Jun 17, 2026, 5:47 AM
Severity
Moderate
Public date
Jun 27, 2023, 12:00 AM