# CVE-2022-24752: SQL Injection through sorting parameters in SyliusGridBundle

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 1.39%, higher than 73% of CVEs (2026-12-01)
- Published: 2022-03-15T14:40:13.000Z
- Modified: 2026-06-17T04:32:26.380Z
- Also known as: GHSA-2xmm-g482-4439
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

SyliusGridBundle is a package of generic data grids for Symfony applications. Prior to versions 1.10.1 and 1.11-rc2, values added at the end of query sorting were passed directly to the database. The maintainers do not know if this could lead to direct SQL injections but took steps to remediate the vulnerability. The issue is fixed in versions 1.10.1 and 1.11-rc2. As a workaround, overwrite the`Sylius\Component\Grid\Sorting\Sorter.php` class and register it in the container. More information about this workaround is available in the GitHub Security Advisory.

(As written by CVE List.)

## Affected

- Sylius SyliusGridBundle: < 1.10.1; 1.11-alpha, <= 1.11-rc; before 1.10.1; 1.11.0
- sylius/grid-bundle (Packagist): before 1.10.1

## Every score

- GitHub_M: 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`
- 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`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/Sylius/SyliusGridBundle/security/advisories/GHSA-2xmm-g482-4439> (third-party-advisory, web)
- <https://github.com/Sylius/SyliusGridBundle/pull/222> (patch, third-party-advisory, web)
- <https://github.com/Sylius/SyliusGridBundle/commit/73d0791d0575f955e830a3da4c3345f420d2f784> (patch, third-party-advisory, web)
- <https://github.com/Sylius/SyliusGridBundle/releases/tag/v1.10.1> (release-notes, third-party-advisory, web)
- <https://github.com/Sylius/SyliusGridBundle/releases/tag/v1.11.0-RC.2> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24752> (advisory)
- <https://github.com/Sylius/SyliusGridBundle> (package)

## Sources

- CVE List: [CVE-2022-24752](https://www.cve.org/CVERecord?id=CVE-2022-24752), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-2xmm-g482-4439](https://github.com/advisories/GHSA-2xmm-g482-4439), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-24752](https://nvd.nist.gov/vuln/detail/CVE-2022-24752), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24752 · Whole record: https://cve.day/CVE-2022-24752.json · Rebuilt by cve.day 2026-11-25T22:58:10.104Z
