{"id":"CVE-2017-1000042","published":"2017-07-13T20:00:00Z","modified":"2024-08-05T21:53:06Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00932,"percentile":0.61568,"provenance":"source"},"cwes":[],"references":[{"url":"https://hackerone.com/reports/54327","tags":["x_refsource_MISC"]},{"url":"https://nodesecurity.io/advisories/49","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.3,"factors":[{"name":"EPSS percentile","points":12.31}]},"affected":[{"ecosystem":"npm","package":"mapbox.js","vulnerableRanges":["<1.6.5",">=2.0.0, <2.1.7"],"patched":["1.6.5","2.1.7"],"from":["GHSA-qr28-7j6p-9hmv"],"provenance":"source"},{"ecosystem":"RubyGems","package":"mapbox-rails","vulnerableRanges":[">=1.0.0, <1.6.5",">=2.0.0, <2.1.7"],"patched":["1.6.5","2.1.7"],"from":["GHSA-qr28-7j6p-9hmv"],"provenance":"source"}],"summary":{"text":"Mapbox.js, the JavaScript mapping library, contains a cross-site scripting flaw in its handling of the TileJSON name field, affecting 1.x releases before 1.6.5 and 2.x releases before 2.1.7. An attacker can inject script that executes in the victim's browser, but only in certain uncommon usage scenarios where the application processes a TileJSON name, so exploitation depends on how the integrating application uses the library.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:45Z"},"euvd":{"id":"EUVD-2018-0771","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-1000042","published":"2017-07-13","fixed":"2.1.7","kev":false},{"cve":"CVE-2017-1000043","published":"2017-07-13","fixed":"2.2.4","kev":false,"link":{"from":"CVE-2017-1000042","to":"CVE-2017-1000043","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:mapbox.js","fromFixed":"1.6.5","toFixed":"1.6.6","daysApart":0},{"kind":"version-step","provenance":"source","package":"npm:mapbox.js","fromFixed":"2.1.7","toFixed":"2.2.4","daysApart":0},{"kind":"similar","provenance":"machine","score":0.92,"basis":"same package + description similarity"}]}}],"package":"npm:mapbox.js"}}