GHSA-5v9h-q3gj-c32xCriticalCVSS 9.8

SQL Injection via GeoJSON in sequelize

Published
September 1, 2020
Last Modified
April 21, 2023

🔗 CVE IDs covered (1)

📋 Description

Affected versions of sequelize are vulnerable to SQL Injection in Models that have fields with the GEOMETRY DataType. This vulnerability occurs because single quotes in document values are not escaped for GeoJSON documents using ST_GeomFromGeoJSON, and MySQL GeoJSON documents using GeomFromText.

Recommendation

Update to version 3.23.6 or later.

🎯 Affected products1

  • npm/sequelize:>= 3.4.0, < 3.23.6

🔗 References (10)