{"id":"GHSA-wfp9-vr4j-f49j","aliases":[],"status":"published","title":"NoSQL Injection in sequelize","description":"Versions of `sequelize` prior to 4.12.0 are vulnerable to NoSQL Injection. Query operators such as `$gt` are not properly sanitized and may allow an attacker to alter data queries, leading to NoSQL Injection.\n\n\n## Recommendation\n\nUpgrade to version 4.12.0 or later","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-89"],"published":"2019-06-04T20:04:27Z","modified":"2023-04-30T05:00:21Z","fixes":[{"ecosystem":"npm","package":"sequelize","fixed_in":["4.12.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"sequelize","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.12.0"}]}]},{"source":"osv","ecosystem":"npm","package":"sequelize","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.12.0"}]}]}],"references":[{"url":"https://github.com/sequelize/sequelize/issues/7310","tags":["web"]},{"url":"https://snyk.io/vuln/SNYK-JS-SEQUELIZE-174147","tags":["web"]},{"url":"https://github.com/sequelize/sequelize/pull/8240","tags":["web"]},{"url":"https://github.com/sequelize/sequelize/commit/ccb99daedb69e8750a241436415ccac8abef358d","tags":["web"]},{"url":"https://github.com/advisories/GHSA-wfp9-vr4j-f49j"},{"url":"https://github.com/sequelize/sequelize","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-wfp9-vr4j-f49j","title":"NoSQL Injection in sequelize","description":"Versions of `sequelize` prior to 4.12.0 are vulnerable to NoSQL Injection. Query operators such as `$gt` are not properly sanitized and may allow an attacker to alter data queries, leading to NoSQL Injection.\n\n\n## Recommendation\n\nUpgrade to version 4.12.0 or later","status":"published","published":"2019-06-04T20:04:27Z","modified":"2023-04-30T05:00:21Z","cwes":["CWE-89"],"updated_at":"2026-11-02T14:36:52.310293Z"}],"osv":[{"id":"GHSA-wfp9-vr4j-f49j","title":"NoSQL Injection in sequelize","description":"Versions of `sequelize` prior to 4.12.0 are vulnerable to NoSQL Injection. Query operators such as `$gt` are not properly sanitized and may allow an attacker to alter data queries, leading to NoSQL Injection.\n\n\n## Recommendation\n\nUpgrade to version 4.12.0 or later","status":"published","published":"2019-06-04T20:04:27Z","modified":"2023-04-21T19:34:39Z","cwes":["CWE-89"],"updated_at":"2026-11-02T15:46:58.401149Z"}]}}
