{"id":"CVE-2023-28362","aliases":["GHSA-4g8v-vg43-wpgf"],"kind":"cve","tier":"cold","status":"published","title":"Actionpack has possible cross-site scripting vulnerability via User Supplied Values to redirect_to","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.","ai_summary":null,"severity":"medium","cvss":{"score":4,"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"CNA"},"scores":[{"score":4,"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"adp"},{"score":4,"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"cna"}],"cwe":["CWE-116"],"remote":false,"remote_unauth":false,"epss":{"score":0.0038,"percentile":0.23886,"date":"2026-11-26"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"RubyGems","name":"actionpack","affected":"< 6.1.7.4","fixed":["6.1.7.4","7.0.5.1"],"source":"osv"}],"affected_products":[{"vendor":"Rails","product":"Action Pack","versions":">= 7.0.5.1, < 7.0.5.1; >= 6.1.7.4, < 6.1.7.4","source":"cvelist"}],"ai_versions":null,"mitigation":"Upgrade actionpack to one of 6.1.7.4, 7.0.5.1 (or later in the same release line).","technologies":[],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28362","kind":"vendor"},{"url":"https://github.com/rails/rails/commit/1c3f93d1e90a3475f9ae2377ead25ccf11f71441","kind":"patch"},{"url":"https://github.com/rails/rails/commit/69e37c84e3f77d75566424c7d0015172d6a6fac5","kind":"patch"},{"url":"https://github.com/rails/rails/commit/c9ab9b32bcdcfd8bcd55907f6c7b20b4e004cc23","kind":"patch"},{"url":"https://discuss.rubyonrails.org/t/cve-2023-28362-possible-xss-via-user-supplied-values-to-redirect-to/83132","kind":"other"},{"url":"https://github.com/advisories/GHSA-4g8v-vg43-wpgf","kind":"other"},{"url":"https://security.netapp.com/advisory/ntap-20250502-0009/","kind":"other"},{"url":"https://github.com/rails/rails","kind":"other"},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2023-28362.yml","kind":"other"},{"url":"https://security.netapp.com/advisory/ntap-20250502-0009","kind":"other"}],"workarounds":null,"vendors":["rails"],"products":["action pack"],"cpes":[],"published_at":"2023-06-29T15:03:16.000Z","modified_at":"2026-06-17T05:47:32.957Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28362"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-4g8v-vg43-wpgf","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2023-28362","markdown":"https://flawdb.com/CVE-2023-28362.md","json":"https://flawdb.com/api/v1/entries/CVE-2023-28362"}}