Skip to main content
← All vulnerabilities
CVE-2023-25813GHSA-WRH9-CJV3-2HPW

SQL Injection via replacements in sequelize

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.19.1
6 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

Sequelize is a Node.js ORM tool. In versions prior to 6.19.1 a SQL injection exploit exists related to replacements. Parameters which are passed through replacements are not properly escaped which can lead to arbitrary SQL injection depending on the specific queries in use. The issue has been fixed in Sequelize 6.19.1. Users are advised to upgrade. Users unable to upgrade should not use the `replacements` and the `where` option in the same query.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • sequelize sequelize

    fixed in 6.19.1

  • sequelizenpm

    fixed in 6.19.1

References 10

GitHub · sequelize/sequelize

GitHub · White-BAO/CVE-2023-25813

GitHub · bde574786/Sequelize-1day-CVE-2023-25813

GitHub · h-gunp/CVE-2023-25813-TEST

GitHub · numbbvi/CVE-2023-25813

GitHub · pbj2647/CVE-2023-25813

GitHub · sea-middle/cve-2023-25813