CVEvulnerability
CVE-2023-28362
4.0 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2025-01-09
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 4.0 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-116
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
Weakness · CWE (1)
- CWE-116 Improper Encoding or Escaping of Output weakness
References
- https://discuss.rubyonrails.org/t/cve-2023-28362-possible-xss-via-user-supplied-values-to-redirect-to/83132 discuss.rubyonrails.org
- https://github.com/advisories/GHSA-4g8v-vg43-wpgf github.com
- https://github.com/rails/rails/commit/1c3f93d1e90a3475f9ae2377ead25ccf11f71441 github.com
- https://github.com/rails/rails/commit/69e37c84e3f77d75566424c7d0015172d6a6fac5 github.com
- https://security.netapp.com/advisory/ntap-20250502-0009/ security.netapp.com