GHSA-fvq6-55gv-jx9f
GitHub Security Advisory
SQL Injection in mysql
✓ GitHub Reviewed
MODERATE
Has CVE
Advisory Details
Versions of `mysql` prior to 2.0.0-alpha8 are affected by a SQL Injection vulnerability in the `mysql.escape()` function, which does not properly escape object keys.
## Recommendation
Update to version 2.0.0-alpha8 or later.
Affected Packages
npm
mysql
Affected versions:
0
(fixed in 2.0.0-alpha8)
Related CVEs
Key Information
5.0
/10
Dataset
Last updated: July 4, 2025 6:27 AM
Data from GitHub Advisory Database. This information is provided for research and educational purposes.