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

- Severity: Medium 5.5 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.72%, higher than 55% of CVEs (2026-12-02)
- Published: 2022-12-19T00:00:00.000Z
- Modified: 2026-06-17T04:19:22.637Z
- Also known as: GHSA-3fhj-wpvj-x5w8
- Weaknesses: CWE-89, CWE-707
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- unspecified laravel-jqgrid: n/a
- mgallegos/laravel-jqgrid (Packagist): up to 1.3.0
- laravel_jqgrid_project laravel_jqgrid: before 2017-10-09

## Every score

- VulDB: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/mgallegos/laravel-jqgrid/pull/72> (patch, third-party-advisory, web)
- <https://github.com/mgallegos/laravel-jqgrid/commit/fbc2d94f43d0dc772767a5bdb2681133036f935e> (patch, third-party-advisory, web)
- <https://vuldb.com/?id.216271> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-4262> (advisory)
- <https://github.com/mgallegos/laravel-jqgrid> (package)

## Sources

- CVE List: [CVE-2021-4262](https://www.cve.org/CVERecord?id=CVE-2021-4262), CVE Terms of Use, modified 2025-04-15
- GitHub Advisory Database: [GHSA-3fhj-wpvj-x5w8](https://github.com/advisories/GHSA-3fhj-wpvj-x5w8), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-4262](https://nvd.nist.gov/vuln/detail/CVE-2021-4262), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-4262 · Whole record: https://cve.day/CVE-2021-4262.json · Rebuilt by cve.day 2026-11-25T22:58:07.964Z
