{"cve":"CVE-2017-1000042","nvd":{"published":"2017-07-17T13:18:17.250","modified":"2026-06-17T00:58:38.313","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://hackerone.com/reports/54327","https://nodesecurity.io/advisories/49","https://hackerone.com/reports/54327","https://nodesecurity.io/advisories/49"],"products":["mapbox_project:mapbox"],"source":"nvd","synced_at":"2026-10-19T20:43:44.556243339+00:00"},"epss":{"cve":"CVE-2017-1000042","score":0.00932,"percentile":0.60705,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-qr28-7j6p-9hmv","url":"https://osv.dev/vulnerability/GHSA-qr28-7j6p-9hmv","summary":"Content Injection via TileJSON attribute in mapbox.js","modified":"2023-11-08T03:58:41.962890Z","packages":[{"ecosystem":"npm","name":"mapbox.js","purl":"pkg:npm/mapbox.js","ranges":["<1.6.5"],"fixed":["1.6.5"]},{"ecosystem":"npm","name":"mapbox.js","purl":"pkg:npm/mapbox.js","ranges":[">=2.0.0 <2.1.7"],"fixed":["2.1.7"]},{"ecosystem":"RubyGems","name":"mapbox-rails","purl":"pkg:gem/mapbox-rails","ranges":[">=1.0.0 <1.6.5"],"fixed":["1.6.5"]},{"ecosystem":"RubyGems","name":"mapbox-rails","purl":"pkg:gem/mapbox-rails","ranges":[">=2.0.0 <2.1.7"],"fixed":["2.1.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}