{"id":"CVE-2019-10748","aliases":["CVE-2019-10748","GHSA-j9xp-92vc-559j","SNYK-JS-SEQUELIZE-450221"],"related":[],"kind":"vulnerability","state":"published","title":"SQL Injection in sequelize","summary":"Sequelize all versions prior to 3.35.1, 4.44.3, and 5.8.11 are vulnerable to SQL Injection due to JSON path keys not being properly escaped for the MySQL/MariaDB dialects.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Sequelize all versions prior to 3.35.1, 4.44.3, and 5.8.11 are vulnerable to SQL Injection due to JSON path keys not being properly escaped for the MySQL/MariaDB dialects.","source":"cvelist"},{"lang":"en","text":"Affected versions of `sequelize` are vulnerable to SQL Injection. The package fails to sanitize JSON path keys in the MariaDB and MySQL dialects,  which may allow attackers to inject SQL statements and execute arbitrary SQL queries.\n\n\n## Recommendation\n\nIf you are using `sequelize` 5.x, upgrade to version 5.8.11 or later.\nIf you are using `sequelize` 4.x, upgrade to version 4.44.3 or later.\nIf you are using `sequelize` 3.x, upgrade to version 3.35.1 or later.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Todas las versiones anteriores a 3.35.1, 4.44.3 y 5.8.11 de Sequelize, son vulnerables a una Inyección SQL debido a que las claves de ruta JSON no se escapan correctamente para los dialectos de MySQL/MariaDB.","source":"nvd"}],"published":"2019-10-28T21:42:45.000Z","modified":"2026-07-08T05:56:36.187Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"All versions prior to 3.35.1","status":"affected"},{"version":"All versions prior to 4.44.3","status":"affected"},{"version":"All versions prior to 5.8.11","status":"affected"}],"product":"Sequelize","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.35.1"}],"ecosystem":"npm","package":"sequelize","purl":"pkg:npm/sequelize","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.44.3"}],"ecosystem":"npm","package":"sequelize","purl":"pkg:npm/sequelize","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"5.0.0","status":"affected","fixed":"5.8.11"}],"ecosystem":"npm","package":"sequelize","purl":"pkg:npm/sequelize","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.0.0","fixed":"3.35.1"},{"status":"affected","introduced":"4.0.0","fixed":"4.44.3"},{"status":"affected","introduced":"5.0.0","lastAffected":"5.8.11"}],"vendor":"sequelizejs","product":"sequelize","cpe":"cpe:2.3:a:sequelizejs:sequelize:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-SEQUELIZE-450221","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sequelize/sequelize/commit/a72a3f5%2C","tags":["x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/sequelize/sequelize/pull/11089%2C","tags":["x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10748","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/sequelize/sequelize/pull/11089,","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/sequelize/sequelize/commit/a72a3f5,","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1018","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-10748","url":"https://www.cve.org/CVERecord?id=CVE-2019-10748","licence":"CVE Terms of Use","modified":"2024-08-04T22:32:01.529Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j9xp-92vc-559j","url":"https://github.com/advisories/GHSA-j9xp-92vc-559j","licence":"CC-BY-4.0","modified":"2026-07-08T05:56:36.187Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-10748","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10748","licence":"Public domain","modified":"2026-06-17T02:11:35.740Z"}],"updatedAt":"2026-11-25T22:57:47.721Z","epss":{"score":0.01315,"percentile":0.71593,"date":"2026-12-01T12:00:22.000Z"}}