Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. mapbox-rails
  4. ›
  5. CVE-2017-1000042

CVE-2017-1000042: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

November 9, 2018 (updated March 27, 2023)

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

References

  • github.com/advisories/GHSA-qr28-7j6p-9hmv
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/mapbox-rails/CVE-2017-1000042.yml
  • hackerone.com/reports/54327
  • nodesecurity.io/advisories/49
  • nvd.nist.gov/vuln/detail/CVE-2017-1000042
  • www.npmjs.com/advisories/49

Code Behaviors & Features

Detect and mitigate CVE-2017-1000042 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0.0 before 1.6.5, all versions starting from 2.0.0 before 2.1.7

Fixed versions

  • 1.6.5
  • 2.1.7

Solution

Upgrade to versions 1.6.5, 2.1.7 or above.

Impact 6.1 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

gem/mapbox-rails/CVE-2017-1000042.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:39 +0000.