# GHSA-wfp9-vr4j-f49j: NoSQL Injection in sequelize

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2019-06-04T20:04:27.000Z
- Modified: 2023-04-21T19:34:39.000Z
- Weaknesses: CWE-89

## 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.


## Recommendation

Upgrade to version 4.12.0 or later

(As written by GitHub Advisory Database.)

## Affected

- sequelize (npm): before 4.12.0

## References

- <https://github.com/sequelize/sequelize/issues/7310> (web)
- <https://github.com/sequelize/sequelize/pull/8240> (web)
- <https://github.com/sequelize/sequelize/commit/ccb99daedb69e8750a241436415ccac8abef358d> (web)
- <https://github.com/sequelize/sequelize> (package)
- <https://snyk.io/vuln/SNYK-JS-SEQUELIZE-174147> (web)

## Sources

- GitHub Advisory Database: [GHSA-wfp9-vr4j-f49j](https://github.com/advisories/GHSA-wfp9-vr4j-f49j), CC-BY-4.0, modified 2023-04-21

---

Page: https://cve.day/GHSA-wfp9-vr4j-f49j · Whole record: https://cve.day/GHSA-wfp9-vr4j-f49j.json · Rebuilt by cve.day 2026-11-25T22:56:46.836Z
