GitHub Advisoryadvisory · npm

GHSA-hx5x-49mm-vmhw SQL Injection in sails-mysql

HIGH Published 2020-09-03 Modified 2021-09-27 Official page ↗
Ecosystem
npm
Packages
sails-mysql
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-89
Reviewed
2020-08-31

Affected packages

• npm sails-mysql: < 0.10.8 → fixed in 0.10.8

Description

Versions of `sails-mysql` prior to 0.10.8 are vulnerable to SQL Injection. The `sort` keyword is not properly sanitized and may allow attackers to inject SQL statements and execute arbitrary SQL queries Recommendation Upgrade to version 0.10.8 or later.

Related

Weakness · CWE (1)

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References