Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. mapbox.js
  4. ›
  5. GMS-2015-37

GMS-2015-37: Content Injection via TileJSON attribute

October 24, 2015

Mapbox.js is vulnerable to a cross-site-scripting attack in certain uncommon usage scenarios.

References

  • hackerone.com/reports/54327

Code Behaviors & Features

Detect and mitigate GMS-2015-37 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.6.5, all versions starting from 2.0.0-beta0 before 2.1.7

Fixed versions

  • 1.6.5
  • 2.1.7

Solution

Upgrade to Mapbox.js version 2.1.7. If you are still using a 1.x version and unable to upgrade to 2.1.7, upgrade to 1.6.5.

Source file

npm/mapbox.js/GMS-2015-37.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:30 +0000.