Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. mysql
  4. ›
  5. GMS-2015-56

GMS-2015-56: SQL Injection due to unescaped object keys

December 28, 2015

Keys of objects are not escaped with mysql.escape() which could lead to SQL Injection.

References

  • github.com/felixge/node-mysql/issues/342

Code Behaviors & Features

Detect and mitigate GMS-2015-56 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 up to 2.0.0-alpha7

Fixed versions

  • 2.0.0-alpha8

Solution

Upgrade to version 2.0.0-alpha8 or above.

Source file

npm/mysql/GMS-2015-56.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:56 +0000.