Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-43796— express vulnerable to XSS via response.redirect()

Quick assessment

Affected
expressjs express
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Express.js是expressjs开源的一个 Node.js 的快速、无限制、极简的 web 框架。 Express.js存在跨站脚本漏洞,该漏洞源于将不受信任的用户输入传递给response.redirect(),可能会执行不受信任的代码。

CVSS 5.0 · Medium EPSS 0.49% · P40

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-43796

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
express vulnerable to XSS via response.redirect()
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Express.js 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Express.js是expressjs开源的一个 Node.js 的快速、无限制、极简的 web 框架。 Express.js存在跨站脚本漏洞,该漏洞源于将不受信任的用户输入传递给response.redirect(),可能会执行不受信任的代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
expressjs express < 4.20.0 -

II. Public POCs for CVE-2024-43796

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-43796

请登录查看更多情报信息。

Same Patch Batch · expressjs · 2024-09-10 · 3 CVEs total

CVE-2024-45590 7.5 HIGH body-parser vulnerable to denial of service when url encoding is enabled
CVE-2024-43800 5.0 MEDIUM serve-static affected by template injection that can lead to XSS

IV. Related Vulnerabilities

V. Comments for CVE-2024-43796

No comments yet


Leave a comment