CVE-2017-1000042
Content Injection via TileJSON attribute in mapbox.js
6.1
MEDIUM
CVSS 3.1
EPSS 0.16%
描述
Versions 1.x prior to 1.6.5 and 2.x prior to 2.1.7 of `mapbox.js` are vulnerable to a cross-site-scripting attack in certain uncommon usage scenarios. If `L.mapbox.map` or `L.mapbox.tileLayer` are used to load untrusted TileJSON content from a non-Mapbox URL, it is possible for a malicious user with control over the TileJSON content to inject script content into the "attribution" value of the TileJSON which will be executed in the context of the page using Mapbox.js. ## Recommendation Version 2.x: Update to version 2.1.7 or later. Version 1.x: Update to version 1.6.5 or later.
如何修補 CVE-2017-1000042
要修補 CVE-2017-1000042,請將受影響套件升級到下列已修補版本。
- —升級至 1.6.5 或更新版本
- —升級至 1.6.5 或更新版本
CVE-2017-1000042 正在被利用嗎?
低 — EPSS 為 0.2%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 1.6.5
- >= 1.0.0, < 1.6.5
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 |