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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-21501

Quick assessment

Affected
n/a sanitize-html
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.

Apostrophe sanitize-html是美国Apostrophe公司的一个库。清理用户提交的 HTML,在每个元素的基础上保留列入白名单的元素和列入白名单的属性。 Apostrophe sanitize-html 2.12.1之前版本存在安全漏洞。攻击者利用该漏洞收集有关目标服务器的文件系统结构和依赖项的详细信息。

CVSS 5.3 · Medium EPSS 1.03% · P62

Possible ATT&CK Techniques 1 AI

T1083 · File and Directory Discovery
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-21501

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
N/A
Source: CVE Program / CVE List V5
Vulnerability Description
Versions of the package sanitize-html before 2.12.1 are vulnerable to Information Exposure when used on the backend and with the style attribute allowed, allowing enumeration of files in the system (including project dependencies). An attacker could exploit this vulnerability to gather details about the file system structure and dependencies of the targeted server.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
信息暴露
Source: CVE Program / CVE List V5
Vulnerability Title
Apostrophe sanitize-html 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Apostrophe sanitize-html是美国Apostrophe公司的一个库。清理用户提交的 HTML,在每个元素的基础上保留列入白名单的元素和列入白名单的属性。 Apostrophe sanitize-html 2.12.1之前版本存在安全漏洞。攻击者利用该漏洞收集有关目标服务器的文件系统结构和依赖项的详细信息。
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
- sanitize-html 0 ~ 2.12.1 -
- org.webjars.npm:sanitize-html 0 ~ * -

II. Public POCs for CVE-2024-21501

# 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-21501

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

Patches & Fixes for CVE-2024-21501 (2)

Vendor Advisories for CVE-2024-21501 (2)

Mailing List Discussions for CVE-2024-21501 (1)

Other References for CVE-2024-21501 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2024-21501

No comments yet


Leave a comment