CVE-2021-3377
ansi_up cross-site scripting vulnerability
6.1
MEDIUM
CVSS 3.1
EPSS 8.0%
描述
The npm package ansi_up converts ANSI escape codes into HTML. In ansi_up v4, ANSI escape codes can be used to create HTML hyperlinks. Due to insufficient URL sanitization, this feature is affected by a cross-site scripting (XSS) vulnerability. This issue is fixed in v5.0.0.
如何修補 CVE-2021-3377
要修補 CVE-2021-3377,請將受影響套件升級到下列已修補版本。
- Debian/node-ansi-up—升級至 5.0.0+dfsg-1 或更新版本
- —升級至 5.0.0 或更新版本
CVE-2021-3377 正在被利用嗎?
中等 — EPSS 為 8.0%,可持續追蹤但非最高優先。
受影響套件(2)
- from 0, < 5.0.0+dfsg-1
- from 0, < 5.0.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |