SQL Injection Affecting nodebatis package, versions <2.2.0


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.14% (50th percentile)
Expand this section
NVD
9.8 critical

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-NODEBATIS-3226761
  • published 6 Jan 2023
  • disclosed 6 Jan 2023
  • credit Unknown

How to fix?

Upgrade nodebatis to version 2.2.0 or higher.

Overview

nodebatis is an a sql style orm for nodejs

Affected versions of this package are vulnerable to SQL Injection due to improper user-input sanitization in tableName and idKey parameters.