Skip to content
Fencer Vulns
medium 6.1

CVE-2017-1000042 json

Content Injection via TileJSON attribute in mapbox.js

published 2017-07-13 9 y ago modified 2026-06-17 4 mo ago also GHSA-qr28-7j6p-9hmv , EUVD-2018-0771

cvss
6.1
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.9%
EPSS 0.9% chance of exploitation in 30 days, percentile 60%
public exploits
0
none known

Summary

Mapbox.js versions 1.x prior to 1.6.5 and 2.x prior to 2.1.7 are vulnerable to a cross-site-scripting attack in certain uncommon usage scenarios via TileJSON Name.

Patch / fix

  • npm mapbox.js 1.6.5, 2.1.7
  • rubygems mapbox-rails 1.6.5, 2.1.7

Exploit prediction

0.93% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • hackerone.com https://hackerone.com/reports/54327 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub 3.0 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
npm mapbox.js
<1.6.5
>=2.0.0, <2.1.7
1.6.5
2.1.7
rubygems mapbox-rails
>=1.0.0, <1.6.5
>=2.0.0, <2.1.7
1.6.5
2.1.7

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.