CVE-2023-28362
published medium CVSS 3.1 · 4.0actionpack: Possible XSS via User Supplied Values to redirect_to
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Rails | — | Action Pack7.0.5.1 to < 7.0.5.1 · 6.1.7.4 to < 6.1.7.4 · Other versions: unaffected | Affected | Not stated | hackerone |
| Debian | bookworm | rails | Advisory build | 2:6.1.7.10+dfsg-1~deb12u1 | DSA-5881-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| Debian | bullseye | rails | Advisory build | 2:6.0.3.7+dfsg-2+deb11u3 | DLA-4383-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
Show 31 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-doc-5_1aarch64 | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-doc-5_1ppc64le | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-doc-5_1s390x | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-doc-5_1x86_64 | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | ruby2.5-rubygem-actionpack-doc-5_1aarch64 | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | ruby2.5-rubygem-actionpack-doc-5_1ppc64le | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | ruby2.5-rubygem-actionpack-doc-5_1s390x | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | ruby2.5-rubygem-actionpack-doc-5_1x86_64 | Advisory build | 5.1.4-150000.3.18.1 | SUSE-SU-2023:3229-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.0 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Rails | Action Pack | 7.0.5.1 to < 7.0.5.1 (affected · custom)6.1.7.4 to < 6.1.7.4 (affected · custom)Default: unaffected | hackerone · cna |
Weaknesses
1- CWE-116 CWE-116 Improper Encoding or Escaping of Output
References
5- https://discuss.rubyonrails.org/t/cve-2023-28362-possible-xss-via-user-supplied-values-to-redirect-to/83132
- https://github.com/advisories/GHSA-4g8v-vg43-wpgf
- https://github.com/rails/rails/commit/1c3f93d1e90a3475f9ae2377ead25ccf11f71441
- https://github.com/rails/rails/commit/69e37c84e3f77d75566424c7d0015172d6a6fac5
- https://security.netapp.com/advisory/ntap-20250502-0009/
Provider assertions
3hackerone · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7be3a65d41026369d0b67a8f766660452dfff186eb4925282c4da09cc7fd830c
- Ingested
- 23 Sep 2026, 08:07:35 UTC
- Source record
- Official CVE record