CVE-2024-11831
Cross-site Scripting (XSS) in serialize-javascript
5.4
MEDIUM
CVSS 3.1
EPSS 1.0%
描述
A flaw was found in npm-serialize-javascript. The vulnerability occurs because the serialize-javascript module does not properly sanitize certain inputs, such as regex or other JavaScript object types, allowing an attacker to inject malicious code. This code could be executed when deserialized by a web browser, causing Cross-site scripting (XSS) attacks. This issue is critical in environments where serialized data is sent to web clients, potentially compromising the security of the website or web application using this package.
如何修補 CVE-2024-11831
要修補 CVE-2024-11831,請將受影響套件升級到下列已修補版本。
- —升級至 6.0.0-2+deb12u1 或更新版本
- —升級至 6.0.2 或更新版本
CVE-2024-11831 正在被利用嗎?
低 — EPSS 為 1.0%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 6.0.0-2+deb12u1
- >= 6.0.0, < 6.0.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |