@azhou/basemodel@1.0.0 vulnerabilities

Basic CRUD functions of data model

Direct Vulnerabilities

Known vulnerabilities in the @azhou/basemodel package. This does not include vulnerabilities belonging to this package’s dependencies.

How to fix?

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

Fix for free
VulnerabilityVulnerable Version
  • H
SQL Injection

@azhou/basemodel is a package.

Affected versions of this package are vulnerable to SQL Injection. All table names and fields arguments of all methods are fed directly into query by string concatenation without escaping which may lead to sql injection. In addition, order by fields of model.getAll(fields, orderby) is not escaped and directly used in query which lead to blind sql injection.

How to fix SQL Injection?

There is no fixed version for @azhou/basemodel.

*