{"id":"CVE-2024-43796","aliases":["GHSA-qw6h-vgh9-j6wx"],"url":"https://o3.security/vulnerability/CVE-2024-43796","summary":"express vulnerable to XSS via response.redirect()","details":"Express.js minimalist web framework for node. In express < 4.20.0, passing untrusted user input - even after sanitizing it - to response.redirect() may execute untrusted code. This issue is patched in express 4.20.0.","published":"2024-09-10T14:36:27.380Z","modified":"2026-07-15T01:48:57.737104316Z","cvss":{"score":5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"express","fixedVersion":"4.20.0"},{"ecosystem":"npm","name":"express","fixedVersion":"5.0.0"}],"fix":{"url":"https://github.com/expressjs/express/commit/54271f69b511fea198471e6ff3400ab805d6b553","label":"expressjs/express@54271f6"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43796.json"},{"type":"ADVISORY","url":"https://github.com/expressjs/express/security/advisories/GHSA-qw6h-vgh9-j6wx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43796"},{"type":"FIX","url":"https://github.com/expressjs/express/commit/54271f69b511fea198471e6ff3400ab805d6b553"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:48:57.737104316Z"}}