Vulnerability · Published Apr 8, 2025 · Assigned by GitHub_M
CVE-2025-32020Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in crud-query-parser
Critical 9.3
In plain English
A critical-severity SQL injection in crud-query-parser from Guichaguri. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
The crud-query-parser library parses query parameters from HTTP requests and converts them to database queries. Improper neutralization of the order/sort parameter in the TypeORM adapter, which allows SQL injection. You are impacted by this vulnerability if you are using the TypeORM adapter, ordering is enabled and you have not set-up a property filter. This vulnerability is fixed in 0.1.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | crud-query-parser | 0.1.0 | GHSA-9r25-rp3p-h2w4 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Guichaguri | crud-query-parser | < 0.1.0 |
Weakness: CWE-89 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N