Skip to content
OpenAdvisories
High · 7.5 GHSA-hx5x-49mm-vmhw

SQL Injection in sails-mysql

Published Sep 3, 2020 · Updated Sep 27, 2021 · Assigned by GHSA

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm sails-mysql < 0.10.8 0.10.8 GHSA-hx5x-49mm-vmhw

References