{"id":"CVE-2023-28362","aliases":["GHSA-4g8v-vg43-wpgf"],"url":"https://o3.security/vulnerability/CVE-2023-28362","summary":"Actionpack has possible cross-site scripting vulnerability via User Supplied Values to redirect_to","details":"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":"2025-01-09T00:33:47.730Z","modified":"2026-08-08T03:47:44.236095544Z","cvss":{"score":4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"RubyGems","name":"actionpack","fixedVersion":"6.1.7.4"},{"ecosystem":"RubyGems","name":"actionpack","fixedVersion":"7.0.5.1"}],"fix":{"url":"https://github.com/rails/rails/commit/1c3f93d1e90a3475f9ae2377ead25ccf11f71441","label":"rails/rails@1c3f93d"},"references":[{"type":"WEB","url":"https://discuss.rubyonrails.org/t/cve-2023-28362-possible-xss-via-user-supplied-values-to-redirect-to/83132"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28362.json"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4g8v-vg43-wpgf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28362"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20250502-0009/"},{"type":"FIX","url":"https://github.com/rails/rails/commit/1c3f93d1e90a3475f9ae2377ead25ccf11f71441"},{"type":"FIX","url":"https://github.com/rails/rails/commit/69e37c84e3f77d75566424c7d0015172d6a6fac5"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-08T03:47:44.236095544Z"}}