Skip to content
Heist/ feed
Back to feed
Medium

dresende node-sql-query Request Parameter Select.js SelectQuery.build sql injection

Type: advisorySources: OSV

A vulnerability was found in dresende node-sql-query 0.1.25/0.1.26/0.1.27/0.1.28. Affected by this vulnerability is the function SelectQuery.from/SelectQuery.build in the library lib/Select.js of the component Request Parameter Handler. Performing a manipulation results in sql injection. It is possible to initiate the attack remotely. The exploit has been made public and could be used. Upgrading to version 0.1.29 addresses this issue. The patch is named 3414c42f6de89826fa1f5f36f6139d1e6552778e. Upgrading the affected component is recommended.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-19351
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 18:21 UTC · Revision 1

Source evidence

dresende node-sql-query Request Parameter Select.js SelectQuery.build sql injection

core-osv · Original source

Published 9 Aug 2026, 11:30 UTC

A vulnerability was found in dresende node-sql-query 0.1.25/0.1.26/0.1.27/0.1.28. Affected by this vulnerability is the function SelectQuery.from/SelectQuery.build in the library lib/Select.js of the component Request Parameter Handler. Performing a manipulation results in sql injection. It is possible to initiate the attack remotely. The exploit has been made public and could be used. Upgrading to version 0.1.29 addresses this issue. The patch is named 3414c42f6de89826fa1f5f36f6139d1e6552778e. Upgrading the affected component is recommended.

osv:CVE-2026-19351
Complete source record
{
  "id": "2c3ab67a8d26b4ccdefe41be5284ab9c3a0412f10ed8e8694ef4c2886d356cc7",
  "url": "https://osv.dev/vulnerability/CVE-2026-19351",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "dresende node-sql-query Request Parameter Select.js SelectQuery.build sql injection",
    "summary": "A vulnerability was found in dresende node-sql-query 0.1.25/0.1.26/0.1.27/0.1.28. Affected by this vulnerability is the function SelectQuery.from/SelectQuery.build in the library lib/Select.js of the component Request Parameter Handler. Performing a manipulation results in sql injection. It is possible to initiate the attack remotely. The exploit has been made public and could be used. Upgrading to version 0.1.29 addresses this issue. The patch is named 3414c42f6de89826fa1f5f36f6139d1e6552778e. Upgrading the affected component is recommended.",
    "evidence": "osv:CVE-2026-19351",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-19351",
      "aliases": [
        "CVE-2026-19351"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/dresende/node-sql-query",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5dfae4d7da3f1112ed165031e5b24a562a325a20"
                },
                {
                  "fixed": "3414c42f6de89826fa1f5f36f6139d1e6552778e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0.1.25"
                      },
                      {
                        "last_affected": "0.1.25"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.1.26"
                      },
                      {
                        "last_affected": "0.1.26"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.1.27"
                      },
                      {
                        "last_affected": "0.1.27"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.1.28"
                      },
                      {
                        "last_affected": "0.1.28"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3414c42f6de89826fa1f5f36f6139d1e6552778e"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3414c42f6de89826fa1f5f36f6139d1e6552778e"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v0.1.29"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.1.25",
            "0.1.26",
            "0.1.27",
            "0.1.28",
            "v0.1.28",
            "v0.1.26",
            "v0.1.25"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-19351.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:21.830237494Z",
      "provider": "osv",
      "references": [
        "https://github.com/dresende/node-sql-query/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/19xxx/CVE-2026-19351.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-19351",
        "https://vuldb.com/cve/CVE-2026-19351",
        "https://vuldb.com/submit/865884",
        "https://vuldb.com/vuln/387190",
        "https://github.com/windhxy/CVE-my/issues/2",
        "https://vuldb.com/vuln/387190/cti",
        "https://github.com/dresende/node-sql-query/commit/3414c42f6de89826fa1f5f36f6139d1e6552778e",
        "https://github.com/dresende/node-sql-query/pull/64",
        "https://github.com/dresende/node-sql-query/releases/tag/v0.1.29"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-74",
          "CWE-89"
        ],
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/19xxx/CVE-2026-19351.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-19351",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 488278,
  "published_at": "2026-08-09T11:30:10.583+00:00"
}