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.

Severity (CVSS 4.0)9.3Critical
Exploit odds (30 days)0.4%top 68.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
npmcrud-query-parser0.1.0GHSA-9r25-rp3p-h2w4

Affected products (as reported)

VendorProductVersions
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

References