Vulnerability in Rails Action Pack
CVE-2023-28362
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.0 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS 0.003, 26.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rails Action Pack — versions 7.0.5.1, 6.1.7.4
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (elttam/publications, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- discuss.rubyonrails.org/t/cve-2023-28362-possible-xss-via-user-supplied-values-…
- github.com/advisories/GHSA-4g8v-vg43-wpgf
- github.com/rails/rails/commit/1c3f93d1e90a3475f9ae2377ead25ccf11f71441
- github.com/rails/rails/commit/69e37c84e3f77d75566424c7d0015172d6a6fac5
- security.netapp.com/advisory/ntap-20250502-0009/