Vulnerability DatabaseGHSA-gqm7-fq99-9hmm

GHSA-gqm7-fq99-9hmm: 
PHP vulnerability analysis and mitigation

Impact

Laravel DataTables applications that call orderByNullsLast() on a Query Builder or Eloquent DataTable may allow SQL injection. On affected releases, the package inserts the client-supplied sort column into the database's ORDER BY expression without quoting it as an identifier. A caller who can access the endpoint and choose the sort column can change how the database evaluates the query and may infer sensitive data readable by the application's database account. Access requirements depend on the application's route permissions. Nulls-last ordering is opt-in. Applications that use the package's default ordering are unaffected by this issue.

Affected and patched versions

Installed version of yajra/laravel-datatables-oracleFirst release with the fix
7.x, 8.x, or 9.xNo same-major patch. Upgrade to a patched release on a compatible major.
10.0.0 through 10.11.510.11.6
11.0.0 through 11.1.711.1.8
12.0.0 through 12.7.012.7.1
13.0.013.1.0
The patched releases quote the sort column using Laravel's database grammar. The 10.x and 11.x backports also validate request column names before building the query.

Workaround

Remove the orderByNullsLast() call from affected server-side DataTables endpoints until you can upgrade. Sorting will use the database driver's default placement of null values.


Source: NVD

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-qrxh-g29w-pchrCRITICAL9.1
  • PHP logoPHP
  • yajra/laravel-datatables-oracle
NoYesNov 28, 2026
GHSA-r28f-v6v7-gm9wHIGH8.6
  • PHP logoPHP
  • inter-mediator/inter-mediator
NoNoNov 28, 2026
GHSA-gqm7-fq99-9hmmHIGH7.5
  • PHP logoPHP
  • yajra/laravel-datatables-oracle
NoYesNov 28, 2026
GHSA-7h52-wmhj-vrvfHIGH7.1
  • PHP logoPHP
  • ianm/follow-users
NoYesNov 28, 2026
GHSA-2vpq-v76w-pfwmMEDIUM6.1
  • PHP logoPHP
  • cecil/cecil
NoYesNov 28, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management