OsVault/npm/mysql2
npm2 critical

mysql2

7 known vulnerabilities · 2 critical · 1 high

CVE-2024-21511CRITICAL

MySQL2 for Node Arbitrary Code Injection

Published Apr 23, 2024
CVE-2024-21507MEDIUM

mysql2 cache poisoning vulnerability

Published Apr 10, 2024
CVE-2024-21509MEDIUM

mysql2 vulnerable to Prototype Poisoning

Published Apr 10, 2024
CVE-2024-21508CRITICAL

mysql2 Remote Code Execution (RCE) via the readCodeFor function

Published Apr 11, 2024
CVE-2024-21512HIGH

mysql2 vulnerable to Prototype Pollution

Published May 30, 2024
MAL-2025-4514

Malicious code in telegraf-mysql2-session (npm)

Published May 27, 2025
MAL-2026-537

Malicious code in mysql2.js (npm)

Published Jan 27, 2026
Check your entire dependency tree at onceRun dependency scan →