CVE-2022-24752Syliusgridbundle
Critical 9.8 No auth needed
Follow: this CVE · Sylius · Syliusgridbundle We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- No
- Published
- Mar 15, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Syliusgridbundle.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | sylius/grid-bundle |
< 1.10.1 |
1.10.1 |
composer require "sylius/grid-bundle:^1.10.1" |
Per OSV / GitHub Advisories (GHSA-2xmm-g482-4439). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sylius | syliusgridbundle | < 1.10.1 |
| sylius | syliusgridbundle | 1.11.0 |
| sylius | syliusgridbundle | 1.11.0 |
| sylius | syliusgridbundle | 1.11.0 |
| sylius | syliusgridbundle | 1.11.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Third Party Advisory