PT-2017-10753 · Mapbox · Mapbox.Js

Published

2017-07-13

·

Updated

2019-10-31

·

CVE-2017-1000043

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Mapbox.js versions 1.x prior to 1.6.6 Mapbox.js versions 2.x prior to 2.2.4
Description The issue concerns a cross-site-scripting attack in certain uncommon usage scenarios via TileJSON name and map share control. If L.mapbox.map or L.mapbox.shareControl are used in a manner that gives users control of the TileJSON content, it is possible to inject script content into the name value of the TileJSON. After clicking on the share control, the malicious code will execute in the context of the page using Mapbox.js.
Recommendations Version 1.x: Update to version 1.6.6 or later. Version 2.x: Update to version 2.2.4 or later.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2017-1000043
GHSA-Q69P-5H74-W36F

Affected Products

Mapbox.Js