actionpack: Possible XSS via User Supplied Values to redirect_to
Published Jan 9, 2025
4.7
MEDIUMCVSS 3.1
EPSS 0.33%
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
-
- Version 6.1.7.4StatusaffectedConstraints<6.1.7.4
- Version 7.0.5.1StatusaffectedConstraints<7.0.5.1
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Rails | Action Pack | unaffected |
|
No data.
No data.
Red Hat Satellite 6.14 for RHEL 8
rubygem-actionpack-0:6.1.7.4-1.el8sat
Fixed · RHSA-2023:7851
Red Hat 3scale API Management Platform 2
3scale-amp-system-container
Will not fix
Red Hat 3scale API Management Platform 2
3scale-amp-zync-container
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Satellite 6.14 for RHEL 8 | rubygem-actionpack-0:6.1.7.4-1.el8sat | Fixed | RHSA-2023:7851 |
| Red Hat 3scale API Management Platform 2 | 3scale-amp-system-container | Will not fix | n/a |
| Red Hat 3scale API Management Platform 2 | 3scale-amp-zync-container | Affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
1 other source (Red Hat) ▾
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Jan 9, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2025–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (4 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.33% (0.00332) | 24.10th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.31% (0.00312) | 22.63th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.03% (0.00028) | 4.95th | v4 (v2025.03.14) |
| Jan 9, 2025 | 0.04% (0.00045) | 17.50th | v3 (v2023.03.01) |
References (11)
- https://access.redhat.com/security/cve/CVE-2023-28362 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2217785 Issue Tracking
- 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 Advisory
- https://github.com/rails/rails/commit/1c3f93d1e90a3475f9ae2377ead25ccf11f71441
- https://github.com/rails/rails/commit/69e37c84e3f77d75566424c7d0015172d6a6fac5
- https://github.com/rails/rails/commit/c9ab9b32bcdcfd8bcd55907f6c7b20b4e004cc23
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2023-28362.yml
- https://nvd.nist.gov/vuln/detail/CVE-2023-28362
- https://security.netapp.com/advisory/ntap-20250502-0009
- https://www.cve.org/CVERecord?id=CVE-2023-28362
Change history (0)
No recorded changes yet.