CVE-2023-28362
MEDIUM 4.0CVSS 3.1Actionpack has possible cross-site scripting vulnerability via User Supplied Values to redirect_to
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
- 9 Jan 2025
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Deferred
- Weakness
- CWE-116
- Also known as
- GHSA-4g8v-vg43-wpgf
- Sources
- NVDJSONOSV GHSA-4g8v-vg43-wpgfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | RubyGems | actionpack | < 6.1.7.4 | 6.1.7.4 |
| OSV | RubyGems | actionpack | >= 7.0.0, < 7.0.5.1 | 7.0.5.1 |
References
- https://discuss.rubyonrails.org/t/cve-2023-28362-possible-xss-via-user-supplied-values-to-redirect-to/83132 · WEB
- https://github.com/advisories/GHSA-4g8v-vg43-wpgf
- https://github.com/rails/rails/commit/1c3f93d1e90a3475f9ae2377ead25ccf11f71441 · WEB
- https://github.com/rails/rails/commit/69e37c84e3f77d75566424c7d0015172d6a6fac5 · WEB
- https://security.netapp.com/advisory/ntap-20250502-0009/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-28362 · ADVISORY
- https://github.com/rails/rails/commit/c9ab9b32bcdcfd8bcd55907f6c7b20b4e004cc23 · WEB
- https://github.com/rails/rails · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2023-28362.yml · WEB
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 9 Jan 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Jun 2023)