CVE-2025-32020 Details
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.
A SQL injection vulnerability has been identified in the crud-query-parser library, specifically within the TypeORM adapter. This issue arises from improper handling of the order/sort parameter, allowing malicious SQL queries to be injected. The vulnerability affects versions prior to 0.1.0, and impacts users who have ordering enabled and have not configured a property filter.
Users can upgrade to crud-query-parser version 0.1.0 or later, which includes a fix for this vulnerability by introducing TypeORM field validation. Alternatively, users can add an allowlist of fields to filter out invalid ones before passing the request to the TypeORM adapter, or disable ordering by clearing the order field before it is processed by the adapter.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 8, 2025CISA-ADP
Assessed Apr 8, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Guichaguri/crud-query-parser/security/advisories/GHSA-9r25-rp3p-h2w4 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Guichaguri crud-query-parser | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 8, 2025 | New CVE Received | [email protected] |
Volerion