power-components/livewire-powergrid is vulnerable to SQL Injection
76
CVE Score
High
SQL Injection
The public Livewire sortDirection property is interpolated verbatim into a raw ORDER BY clause built for the naturalSort feature and is not restricted to asc or desc. Setting sortField to an empty string skips the sorting pipeline that normally validates the direction, so the raw-query pipeline still applies the tainted value through orderByRaw. This lets externally supplied input inject arbitrary SQL into the order clause, enabling blind boolean and time-based extraction of database contents. The fix sanitizes the sort direction against an allowlist before it reaches the query.
Upgrade the power-components/livewire-powergrid library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you use a PowerGrid table column configured with naturalSort.
6.0.0 - 6.10.3
Fixed in 6.10.4power-components/livewire-powergrid is vulnerable to SQL Injection in versions 6.0.0 - 6.10.3.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.