{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"cvssV3_0": {"scope": "CHANGED", "version": "3.0", "baseScore": 6.1, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "integrityImpact": "LOW", "userInteraction": "REQUIRED", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "NONE", "confidentialityImpact": "LOW"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "npm", "product": "mapbox.js", "versions": [{"status": "affected", "version": "0", "lessThan": "1.6.5", "versionType": "semver"}, {"status": "affected", "version": "2.0.0", "lessThan": "2.1.7", "versionType": "semver"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://github.com/advisories/GHSA-qr28-7j6p-9hmv"}, {"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mapbox-rails/CVE-2017-1000042.yml"}, {"url": "https://hackerone.com/reports/54327"}, {"url": "https://nodesecurity.io/advisories/49"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000042"}, {"url": "https://www.npmjs.com/advisories/49"}], "descriptions": [{"lang": "en", "value": "Content Injection via TileJSON attribute in mapbox.js"}, {"lang": "en", "value": "Versions 1.x prior to 1.6.5 and 2.x prior to 2.1.7 of `mapbox.js` are vulnerable to a cross-site-scripting attack in certain uncommon usage scenarios.\n\nIf `L.mapbox.map` or `L.mapbox.tileLayer` are used to load untrusted TileJSON content from a non-Mapbox URL, it is possible for a malicious user with control over the TileJSON content to inject script content into the \"attribution\" value of the TileJSON which will be executed in the context of the page using Mapbox.js.\n\n\n\n## Recommendation\n\nVersion 2.x: Update to version 2.1.7 or later.\nVersion 1.x: Update to version 1.6.5 or later."}], "providerMetadata": {"orgId": "386269d4-a6c6-4eaa-bf8e-bc0b0d010558", "shortName": "npm", "dateUpdated": "2018-11-09T17:47:45Z", "x_subShortName": "npm"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 4.3, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "NONE", "confidentialityImpact": "NONE"}}, {"format": "CVSS", "cvssV3_0": {"scope": "CHANGED", "version": "3.0", "baseScore": 6.1, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "integrityImpact": "LOW", "userInteraction": "REQUIRED", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "NONE", "confidentialityImpact": "LOW"}}], "affected": [{"cpes": ["cpe:2.3:a:mapbox_project:mapbox:1.0.0:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:1.0.1:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:1.0.2:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:1.0.3:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:1.0.4:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:1.1.0:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:1.2.0:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:1.3.0:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:1.3.1:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:1.4.0:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:1.4.1:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:1.4.2:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:1.5.0:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:1.5.1:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:1.5.2:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:1.6.0:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:1.6.0:beta0:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:1.6.0:beta:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:1.6.1:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:1.6.2:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:1.6.2:beta0:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:1.6.4:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:2.0.0:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:2.0.0:beta0:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:2.0.0:beta1:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:2.0.1:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:2.1.0:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:2.1.1:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:2.1.2:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:2.1.3:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:2.1.4:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:2.1.5:*:*:*:*:*:*:*", "cpe:2.3:a:mapbox_project:mapbox:2.1.6:*:*:*:*:*:*:*"], "vendor": "mapbox_project", "product": "mapbox", "versions": [{"status": "affected", "version": "1.0.0"}, {"status": "affected", "version": "1.0.1"}, {"status": "affected", "version": "1.0.2"}, {"status": "affected", "version": "1.0.3"}, {"status": "affected", "version": "1.0.4"}, {"status": "affected", "version": "1.1.0"}, {"status": "affected", "version": "1.2.0"}, {"status": "affected", "version": "1.3.0"}, {"status": "affected", "version": "1.3.1"}, {"status": "affected", "version": "1.4.0"}, {"status": "affected", "version": "1.4.1"}, {"status": "affected", "version": "1.4.2"}, {"status": "affected", "version": "1.5.0"}, {"status": "affected", "version": "1.5.1"}, {"status": "affected", "version": "1.5.2"}, {"status": "affected", "version": "1.6.0"}, {"status": "affected", "version": "1.6.1"}, {"status": "affected", "version": "1.6.2"}, {"status": "affected", "version": "1.6.4"}, {"status": "affected", "version": "2.0.0"}, {"status": "affected", "version": "2.0.1"}, {"status": "affected", "version": "2.1.0"}, {"status": "affected", "version": "2.1.1"}, {"status": "affected", "version": "2.1.2"}, {"status": "affected", "version": "2.1.3"}, {"status": "affected", "version": "2.1.4"}, {"status": "affected", "version": "2.1.5"}, {"status": "affected", "version": "2.1.6"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://hackerone.com/reports/54327", "tags": ["exploit", "third-party-advisory"]}, {"url": "https://nodesecurity.io/advisories/49", "tags": ["third-party-advisory"]}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "MapBox.js versiones 1.x anterior a 1.6.5 y 2.x anterior a 2.1.7, son vulnerables a un ataque de tipo cross-site-scripting en ciertos escenarios de uso poco común por medio del Nombre TileJSON."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-79", "description": "CWE-79"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2017-07-17T13:18:17Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2017-1000042", "state": "PUBLISHED", "dateUpdated": "2025-04-20T01:37:25Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2017-07-17T13:18:17Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}