SQL Injection Affecting crud-query-parser package, versions <0.1.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-CRUDQUERYPARSER-9749487
  • published18 Apr 2025
  • disclosed9 Apr 2025
  • creditUnknown

Introduced: 9 Apr 2025

CVE-2025-32020  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade crud-query-parser to version 0.1.0 or higher.

Overview

crud-query-parser is a Parses HTTP requests and converts them into database queries

Affected versions of this package are vulnerable to SQL Injection that is exploitable via the order and sort parameters to the TypeORM adapter. This is only exploitable if ordering is enabled and property filters are not set up.

References

CVSS Base Scores

version 4.0
version 3.1