CVE-2022-24752
CRITICAL 9.8CVSS 3.1DQL injection through sorting parameters blocked
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 theSylius\Component\Grid\Sorting\Sorter.php class and register it in the container. More information about this workaround is available in the GitHub Security Advisory.
- Published
- 15 Mar 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-89
- Also known as
- GHSA-2xmm-g482-4439
- Sources
- NVDJSONOSV GHSA-2xmm-g482-4439JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sylius | syliusgridbundlecpe:2.3:a:sylius:syliusgridbundle:*:*:*:*:*:*:*:* |
< 1.10.1 | 1.10.1 |
| NVD | sylius | syliusgridbundlecpe:2.3:a:sylius:syliusgridbundle:1.11.0:-:*:*:*:*:*:* |
= 1.11.0 | |
| NVD | sylius | syliusgridbundlecpe:2.3:a:sylius:syliusgridbundle:1.11.0:alpha1:*:*:*:*:*:* |
= 1.11.0 | |
| NVD | sylius | syliusgridbundlecpe:2.3:a:sylius:syliusgridbundle:1.11.0:beta1:*:*:*:*:*:* |
= 1.11.0 | |
| NVD | sylius | syliusgridbundlecpe:2.3:a:sylius:syliusgridbundle:1.11.0:rc1:*:*:*:*:*:* |
= 1.11.0 | |
| OSV | Packagist | sylius/grid-bundle | < 1.10.1 | 1.10.1 |
References
- https://github.com/Sylius/SyliusGridBundle/commit/73d0791d0575f955e830a3da4c3345f420d2f784 · Patch, Third Party Advisory, WEB
- https://github.com/Sylius/SyliusGridBundle/pull/222 · 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://github.com/Sylius/SyliusGridBundle/security/advisories/GHSA-2xmm-g482-4439 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-24752 · ADVISORY
- https://github.com/Sylius/SyliusGridBundle · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 15 Mar 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Mar 2022)