CVE-2017-1000043Mapbox.js
Medium 6.1 No auth needed
Follow: this CVE · Mapbox · Mapbox.js We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 62
- Auth required
- No
- Published
- Jul 17, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
Mapbox.js versions 1.x prior to 1.6.6 and 2.x prior to 2.2.4 are vulnerable to a cross-site-scripting attack in certain uncommon usage scenarios via TileJSON name and map share control
What to do
- Apply the vendor's security update for Mapbox.js.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | mapbox-rails |
≥ 1.0.0 < 1.6.6 |
1.6.6 |
gem "mapbox-rails", ">= 1.6.6" |
| RubyGems | mapbox-rails |
≥ 2.0.0 < 2.2.4 |
2.2.4 |
gem "mapbox-rails", ">= 2.2.4" |
| npm | mapbox.js |
< 1.6.6 |
1.6.6 |
npm install mapbox.js@1.6.6 |
| npm | mapbox.js |
≥ 2.0.0 < 2.2.4 |
2.2.4 |
npm install mapbox.js@2.2.4 |
Per OSV / GitHub Advisories (GHSA-q69p-5h74-w36f). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mapbox | mapbox.js | ≥ 1.0.0 < 1.6.6 |
| mapbox | mapbox.js | ≥ 2.0.0 < 2.2.4 |
Official sources
References
Links published by the sources. Open them with care.
- hackerone.com Exploit Third Party Advisory
- nodesecurity.io Third Party Advisory