CVE-2017-1000043:
Content Injection via TileJSON Name in mapbox.js
6.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.38017%
CWE
Published
11/9/2018
Updated
3/27/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
mapbox.js | npm | < 1.6.6 | 1.6.6 |
mapbox.js | npm | >= 2.0.0, < 2.2.4 | 2.2.4 |
mapbox-rails | rubygems | >= 1.0.0, < 1.6.6 | 1.6.6 |
mapbox-rails | rubygems | >= 2.0.0, < 2.2.4 | 2.2.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability manifests in share control UI generation where TileJSON 'name' values are inserted into DOM without proper escaping. The primary vulnerable functions are in the ShareControl prototype responsible for rendering UI elements. L.mapbox.map is included as the entry point that initiates the vulnerable chain when using untrusted input. These functions would appear in stack traces when processing malicious TileJSON data and generating share controls.