Vulnerability DatabaseCVE-2016-1000225

CVE-2016-1000225
JavaScript vulnerability analysis and mitigation

Overview

CVE-2016-1000225 affects Sequelize versions >=3.4.0 and <3.23.6. The vulnerability allows SQL injection attacks via GeoJSON documents in Models that have fields with the GEOMETRY DataType. This occurs because single quotes in document values are not properly escaped when using ST_GeomFromGeoJSON for PostgreSQL and GeomFromText for MySQL (GitHub Advisory, Snyk).

Technical details

The vulnerability exists because the GEOMETRY and GEOGRAPHY data types in Sequelize do not properly escape single quotes when processing GeoJSON documents. This affects both PostgreSQL (using ST_GeomFromGeoJSON function) and MySQL (using GeomFromText function) implementations. The issue allows attackers to inject malicious SQL code through crafted GeoJSON values containing single quotes (GitHub PR, GitHub Issue).

Impact

A successful exploitation of this vulnerability could allow attackers to perform SQL injection attacks, potentially leading to unauthorized data access, data manipulation, or execution of arbitrary database commands. The vulnerability has a CVSS v3.1 base score of 9.8 (Critical), indicating high impact on confidentiality, integrity and availability (GitHub Advisory, Snyk).

Exploitability

The vulnerability is easily exploitable by sending GeoJSON documents containing single quotes in their values. This affects applications using Sequelize's GEOMETRY or GEOGRAPHY data types. The vulnerability requires no special privileges or user interaction to exploit (Snyk).

Mitigation and workarounds

The recommended mitigation is to upgrade Sequelize to version 3.23.6 or later, which properly escapes single quotes in GeoJSON documents. The fix was implemented by modifying the $stringify function to use proper escaping for both GEOMETRY and GEOGRAPHY types (GitHub PR).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-63376HIGH8.2
  • JavaScript logoJavaScript
  • trigger-dev
NoYesSep 03, 2026
GHSA-7q9c-hpx7-9cwmHIGH7.5
  • JavaScript logoJavaScript
  • @typespec/spector
NoYesSep 04, 2026
CVE-2026-77465HIGH7.5
  • JavaScript logoJavaScript
  • toml
NoYesSep 03, 2026
CVE-2026-71429MEDIUM6.2
  • JavaScript logoJavaScript
  • stream-json
NoYesSep 03, 2026
GHSA-6hxq-p678-4hr2LOW2
  • JavaScript logoJavaScript
  • @simplewebauthn/server
NoYesSep 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management