CVE-2024-11831

MEDIUM5.4EPSS 1.1%

Cross-site Scripting (XSS) in serialize-javascript

發布日:2025/2/10修改日:2026/4/17
也稱為:GHSA-76p7-773f-r4q5CGA-gx64-2vh6-659q

描述

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.

受影響套件(2)

CVSS 分數

來源版本嚴重程度向量
osvCVSS 3.1MEDIUM5.4CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

參考連結(28)