CVE-2016-10531
Sanitization bypass using HTML Entities in marked
6.1
MEDIUM
CVSS 3.1
EPSS 1.5%
描述
marked is an application that is meant to parse and compile markdown. Due to the way that marked 0.3.5 and earlier parses input, specifically HTML entities, it's possible to bypass marked's content injection protection (`sanitize: true`) to inject a `javascript:` URL. This flaw exists because `&#xNNanything;` gets parsed to what it could and leaves the rest behind, resulting in just `anything;` being left.
如何修補 CVE-2016-10531
要修補 CVE-2016-10531,請將受影響套件升級到下列已修補版本。
- —升級至 0.3.6+dfsg-1 或更新版本
- —升級至 0.3.6 或更新版本
CVE-2016-10531 正在被利用嗎?
低 — EPSS 為 1.5%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 0.3.6+dfsg-1
- from 0, < 0.3.6
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |