Latest safe versions
mysql2
The newest release of mysql2, the MySQL driver for Node.js. It fixes every mysql2 bug we cover.
Run at least this
| Line | Latest safe | Released |
|---|---|---|
| 3 | 3.26.1 | 3 Dec |
Versions before 3.25.0 have the NO_BACKSLASH_ESCAPES escaping bug. Check with npm ls mysql2.
From npm registry: mysql2 releases and dates · mysql2 GHSA-f763: patched in 3.25.0 · mysql2 3.26.0 release notes, 30 Nov 2026.
Newest releases checked 3 Dec at registry.npmjs.org · github.com.
Bugs we cover (1)
Filter all CVEs →Latest updates
- mysql2 escaping: Published.