{"id":"CVE-2022-24752","published":"2022-03-15T14:40:13Z","modified":"2025-04-23T18:53:49Z","title":"SQL Injection through sorting parameters in SyliusGridBundle","vendor":"Sylius","product":"SyliusGridBundle","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01392,"percentile":0.73018,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/Sylius/SyliusGridBundle/security/advisories/GHSA-2xmm-g482-4439","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Sylius/SyliusGridBundle/pull/222","tags":["x_refsource_MISC"]},{"url":"https://github.com/Sylius/SyliusGridBundle/commit/73d0791d0575f955e830a3da4c3345f420d2f784","tags":["x_refsource_MISC"]},{"url":"https://github.com/Sylius/SyliusGridBundle/releases/tag/v1.10.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/Sylius/SyliusGridBundle/releases/tag/v1.11.0-RC.2","tags":["x_refsource_MISC"]}],"priority":{"score":21.5,"factors":[{"name":"EPSS percentile","points":14.6},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"sylius","affectedVersions":[{"vendor":"Sylius","product":"SyliusGridBundle","versions":["< 1.10.1","1.11-alpha, <= 1.11-rc"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-04-23T15:50:16.970081Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"sylius/grid-bundle","vulnerableRanges":["<1.10.1"],"patched":["1.10.1"],"from":["GHSA-2xmm-g482-4439"],"provenance":"source"}],"summary":{"text":"SyliusGridBundle, a package of generic data grids for Symfony applications, contains an SQL injection flaw in which values appended to query sorting are passed unsanitised to the database. An unauthenticated attacker with network access can exploit it without user interaction, and the maintainers have not confirmed whether it can lead to direct SQL injection.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:52:18Z"},"euvd":{"id":"EUVD-2022-1277","exploited":false,"provenance":"source"}}