Live threats

All CVEs / Mysqljs

CVE-2015-9244Mysqljs Mysql

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
2.4%
probability of exploitation in 30 days · percentile 85
Auth required
No
Published
May 29, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Keys of objects in mysql node module v2.0.0-alpha7 and earlier are not escaped with `mysql.escape()` which could lead to SQL Injection.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mysql.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm mysql < 2.0.0-alpha8 2.0.0-alpha8 npm install mysql@2.0.0-alpha8

Per OSV / GitHub Advisories (GHSA-fvq6-55gv-jx9f). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mysqljsmysql≤ 0.9.6
mysqljsmysql2.0.0
mysqljsmysql2.0.0
mysqljsmysql2.0.0
mysqljsmysql2.0.0
mysqljsmysql2.0.0
mysqljsmysql2.0.0

Official sources

References

Links published by the sources. Open them with care.