PT-2017-10752 · Mapbox · Mapbox.Js

Published

2017-07-13

·

Updated

2018-11-09

·

CVE-2017-1000042

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.5 Mapbox.js versions 2.x prior to 2.1.7
Description The issue is related 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.
Recommendations Version 1.x: Update to version 1.6.5 or later. Version 2.x: Update to version 2.1.7 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-1000042
GHSA-QR28-7J6P-9HMV

Affected Products

Mapbox.Js