HIGH 8.2 npm

mysql2 vulnerable to Prototype Pollution

GHSA-pmh2-wpjm-fj45 · CVE-2024-21512

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes