CVE-2024-43796

express vulnerable to XSS via response.redirect()

State
Published
Severity
5.0 Medium
Published
Sep 10, 2024
Updated
Sep 10, 2024
Reserved
Aug 16, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.15.0 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:LGitHub_M

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
expressexpressjs
  • < 4.20.0Affected
  • >= 5.0.0-alpha.1, < 5.0.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.