Sceawere
Vulnerability Detail
CVE-2026-19351UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV
SQL Injection in node-sql-query
Vulnerability Metadata
- Severity
- High
- Score / CVSS
- 7.3
- Creation Date
- 4h ago
- Vendor
- dresende
- Product
- node-sql-query
- Attack Type
- SQL Injection
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Attack Complexity
- LOW
Narrative and Response
Description
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.
Executive Summary
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Technical Details
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Mitigations
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
References
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Additional Metadata
{
"score": "7.3",
"pubDate": "2026-08-09T12:16:29.457Z",
"pubdate": "2026-08-09T12:16:29.457Z",
"executiveSummary": "A SQL injection vulnerability has been identified in the dresende node-sql-query library across versions 0.1.25, 0.1.26, 0.1.27, and 0.1.28. The flaw exists within the Request Parameter Handler component, specifically inside the SelectQuery.from and SelectQuery.build functions located in lib/Select.js. This vulnerability allows remote attackers to manipulate input parameters, leading to the execution of arbitrary SQL commands against the underlying database. The risk implication is severe, as successful exploitation could compromise the confidentiality, integrity, and availability of the database system. Public exploits for this vulnerability are currently available, increasing the likelihood of active targeting. Remediation requires updating the affected component to version 0.1.29, which incorporates the official security patch identified by commit hash 3414c42f6de89826fa1f5f36f6139d1e6552778e.",
"technicalDetails": "The vulnerability resides in the request parameter handling logic of the dresende node-sql-query library, specifically within the SelectQuery.from and SelectQuery.build functions implemented in lib/Select.js. The root cause of the vulnerability is the improper neutralization of user-supplied input before it is concatenated or interpolated directly into dynamically constructed SQL query strings. Because the library fails to adequately sanitize or parameterize inputs passed to the query builder, an attacker can supply specially crafted payloads designed to break out of the intended SQL syntax context.\nExploitation of this vulnerability can be performed remotely without requiring prior authentication or elevated privileges. An attacker initiates the attack by sending maliciously crafted parameters to the application endpoints that utilize the vulnerable SelectQuery methods. When the request parameter handler processes the input, the unsanitized data is incorporated into the SQL statement during query construction. Consequently, the database engine interprets the injected payload as valid SQL commands, enabling the execution of arbitrary database queries.\nThe attack flow proceeds as follows: First, the attacker identifies an application input vector that relies on the vulnerable dresende node-sql-query functions for database interaction. Second, the attacker crafts an exploit payload containing SQL syntax manipulation characters. Third, the remote request is transmitted to the server, where the vulnerable lib/Select.js component processes the input without adequate validation. Finally, the resulting SQL query containing the malicious payload is executed by the database management system, potentially resulting in unauthorized data access, data modification, or database compromise depending on the privileges of the database connection."
}