VDB
Sign up
HIGH8.2

GHSA-pmh2-wpjm-fj45

mysql2 vulnerable to Prototype Pollution

Quick fix

GHSA-pmh2-wpjm-fj45 — mysql2: upgrade to the fixed version with the command below.

npm install mysql2@3.9.8

Details

Versions of the package mysql2 before 3.9.8 are vulnerable to Prototype Pollution due to improper user input sanitization passed to fields and tables when using nestTables.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/mysql2
Introduced in: 0Fixed in: 3.9.8
Fixnpm install mysql2@3.9.8

References