What’s Vulnerable › Vulnerabilities
CVE-2026-31825: Sylius has a DQL Injection via API Order Filters
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-10 · updated 2026-06-17
- Weakness: CWE-89
Description
Sylius is an Open Source eCommerce Framework on Symfony. Sylius API filters ProductPriceOrderFilter and TranslationOrderNameAndLocaleFilter pass user-supplied order direction values directly to Doctrine's orderBy() without validation. An attacker can inject arbitrary DQL. The issue is fixed in versions: 1.9.12, 1.10.16, 1.11.17, 1.12.23, 1.13.15, 1.14.18, 2.0.16, 2.1.12, 2.2.3 and above.
Affected products
- Sylius: before 1.9.12; from 1.10.0 before 1.10.16; from 1.11.0 before 1.11.17; from 1.12.0 before 1.12.23; from 1.13.0 before 1.13.15; from 1.14.0 before 1.14.18 — fixed in 1.10.16, 1.11.17, 1.12.23, 1.13.15, 1.14.18, 1.9.12
How to fix
Upgrade to a fixed version: Sylius 1.10.16, 1.11.17, 1.12.23, 1.13.15. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-31825 or the next vulnerability affects your stack