An S3 bucket previously owned by Mapbox was reclaimed by a researcher because S3 bucket names are globally unique. The bucket was still referenced in a test script, so the takeover created a potential path to remote code execution.
A stored cross-site scripting injection could be saved in a Styles name on api.mapbox.com, and because JSON responses lacked the X-Content-Type-Options: nosniff header, Internet Explorer 11 would render the response as HTML and execute the script. An attacker could therefore run script in the context of a victim using IE11 who viewed the affected resource.
An authentication bypass existed in a Mapbox internal portal where failed OAuth authentication attempts still generated valid sessions. An attacker could use such a session to access authenticated information on the portal.
A stored cross-site scripting flaw existed in Mapbox Editor: a user-supplied name and description for a drawn line were saved and later rendered without proper escaping. An attacker could inject script that executed in the browser of anyone who viewed the shared map.
The /authorize/ endpoint on Mapbox's website redirects to a user-supplied redirect_uri and then fetches JSON from that URL, using the returned authorize_url value to build a form without escaping. An attacker could host a malicious JSON file and trick a victim into visiting a crafted link, causing JavaScript to run in the victim's browser on the Mapbox domain.
A null pointer dereference occurs in the tile-count-merge tool when processing a crafted input file, causing a segmentation fault. An attacker could crash the tool by providing a malicious file.
Changing a POST request to a GET request on an integration server returned a full error stack trace instead of an HTTP 404. This revealed the full path of the Node.js modules directory on the server.
Two S3 buckets owned by Mapbox had public-read ACLs; one was intentionally public, but the other was not and was changed to private. An attacker could read the contents of the unintentionally public bucket.
The SDK used the system-wide Broadcast Receiver for location-service broadcasts instead of the Local Broadcast Manager, so broadcasts were not confined to the app's process; the text does not describe an attacker intercepting them.
A link in user-generated map descriptions opened with target="_blank" without noopener, letting the opened page control the original Mapbox tab through window.opener. An attacker could replace the legitimate Mapbox session with a phishing login form.
A reflected cross-site scripting flaw existed in the map embed page of Mapbox's v4 map API, where the access_token query parameter was inserted into HTML without escaping. An attacker could craft a link that, when opened in Firefox, executed arbitrary JavaScript in the context of the Mapbox page.
The account statistics endpoint allowed an attacker to request an arbitrarily long time period with an hourly interval, causing a large amount of data to be returned in a single request. This could lead to a denial of service condition by overloading the backend.
The forbidden page on Mapbox Studio wrote the message query parameter straight into the page, and a redirect parameter caused a local redirect within Studio after a click. An attacker could craft a link showing chosen text and then move the victim to another Studio page.
An internal API endpoint allowed anyone to retrieve details of all public maps in a Mapbox user's account by supplying the victim's username. An attacker could learn map names, descriptions, identifiers, geographic centres, layers, and creation/modification dates, but no private maps or account data were exposed.
A persistent cross-site scripting flaw existed in the map attribution control of Mapbox.js, allowing an attacker to inject JavaScript via a custom map style's attribution field. An attacker could then share a project URL that executed arbitrary JavaScript in a victim's Mapbox.com session, and also in sites using Mapbox.js with untrusted TileJSON.