Sylius has a DQL Injection via API Order Filters
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Sylius | Sylius | 2.2.0 to before 2.2.3; 2.1.0 to before 2.1.12; 2.0.0 to before 2.0.16; 1.14.0 to before 1.14.18; 1.13.0 to before 1.13.15; 1.12.0 to before 1.12.23; 1.11.0 to before 1.11.17; 1.10.0 to before 1.10.16; before 1.9.12 | 2.2.3, 2.1.12, 2.0.16, 1.14.18, 1.13.15, 1.12.23, 1.11.17, 1.10.16, 1.9.12 | Patch available | CNA |
| — | sylius/sylius (Packagist) | before 1.9.12 | 1.9.12 | Patch available | GHSA-xcwx-r2gw-w93m |
| — | sylius/sylius (Packagist) | 1.10.0 to before 1.10.16 | 1.10.16 | Patch available | GHSA-xcwx-r2gw-w93m |
| — | sylius/sylius (Packagist) | 1.11.0 to before 1.11.17 | 1.11.17 | Patch available | GHSA-xcwx-r2gw-w93m |
| — | sylius/sylius (Packagist) | 1.12.0 to before 1.12.23 | 1.12.23 | Patch available | GHSA-xcwx-r2gw-w93m |
| — | sylius/sylius (Packagist) | 1.13.0 to before 1.13.15 | 1.13.15 | Patch available | GHSA-xcwx-r2gw-w93m |
| — | sylius/sylius (Packagist) | 1.14.0 to before 1.14.18 | 1.14.18 | Patch available | GHSA-xcwx-r2gw-w93m |
| — | sylius/sylius (Packagist) | 2.0.0 to before 2.0.16 | 2.0.16 | Patch available | GHSA-xcwx-r2gw-w93m |
| — | sylius/sylius (Packagist) | 2.1.0 to before 2.1.12 | 2.1.12 | Patch available | GHSA-xcwx-r2gw-w93m |
| — | sylius/sylius (Packagist) | 2.2.0 to before 2.2.3 | 2.2.3 | Patch available | GHSA-xcwx-r2gw-w93m |
- Sylius VendorSylius Affected 2.2.0 to before 2.2.3; 2.1.0 to before 2.1.12; 2.0.0 to before 2.0.16; 1.14.0 to before 1.14.18; 1.13.0 to before 1.13.15; 1.12.0 to before 1.12.23; 1.11.0 to before 1.11.17; 1.10.0 to before 1.10.16; before 1.9.12 Fixed in 2.2.3, 2.1.12, 2.0.16, 1.14.18, 1.13.15, 1.12.23, 1.11.17, 1.10.16, 1.9.12 Patch available CNA
- sylius/sylius (Packagist) Vendor— Affected before 1.9.12 Fixed in 1.9.12 Patch available GHSA-xcwx-r2gw-w93m
- sylius/sylius (Packagist) Vendor— Affected 1.10.0 to before 1.10.16 Fixed in 1.10.16 Patch available GHSA-xcwx-r2gw-w93m
- sylius/sylius (Packagist) Vendor— Affected 1.11.0 to before 1.11.17 Fixed in 1.11.17 Patch available GHSA-xcwx-r2gw-w93m
- sylius/sylius (Packagist) Vendor— Affected 1.12.0 to before 1.12.23 Fixed in 1.12.23 Patch available GHSA-xcwx-r2gw-w93m
- sylius/sylius (Packagist) Vendor— Affected 1.13.0 to before 1.13.15 Fixed in 1.13.15 Patch available GHSA-xcwx-r2gw-w93m
- sylius/sylius (Packagist) Vendor— Affected 1.14.0 to before 1.14.18 Fixed in 1.14.18 Patch available GHSA-xcwx-r2gw-w93m
- sylius/sylius (Packagist) Vendor— Affected 2.0.0 to before 2.0.16 Fixed in 2.0.16 Patch available GHSA-xcwx-r2gw-w93m
- sylius/sylius (Packagist) Vendor— Affected 2.1.0 to before 2.1.12 Fixed in 2.1.12 Patch available GHSA-xcwx-r2gw-w93m
- sylius/sylius (Packagist) Vendor— Affected 2.2.0 to before 2.2.3 Fixed in 2.2.3 Patch available GHSA-xcwx-r2gw-w93m
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:* | before 1.9.12; 1.10.0 to before 1.10.16; 1.11.0 to before 1.11.17; 1.12.0 to before 1.12.23; 1.13.0 to before 1.13.15; 1.14.0 to before 1.14.18; 2.0.0 to before 2.0.16; 2.1.0 to before 2.1.12; 2.2.0 to before 2.2.3 | Vulnerable | Sylius |
- cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:* Versions before 1.9.12; 1.10.0 to before 1.10.16; 1.11.0 to before 1.11.17; 1.12.0 to before 1.12.23; 1.13.0 to before 1.13.15; 1.14.0 to before 1.14.18; 2.0.0 to before 2.0.16; 2.1.0 to before 2.1.12; 2.2.0 to before 2.2.3 Vulnerable ·Sylius
Remediation
- Fix · CNA Sylius (Sylius) Fixed in 2.2.3, 2.1.12, 2.0.16, 1.14.18, 1.13.15, 1.12.23, 1.11.17, 1.10.16, 1.9.12
- Fix · GHSA-xcwx-r2gw-w93m sylius/sylius (Packagist) Fixed in 1.9.12 Advisory →
- Fix · GHSA-xcwx-r2gw-w93m sylius/sylius (Packagist) Fixed in 1.10.16 Advisory →
- Fix · GHSA-xcwx-r2gw-w93m sylius/sylius (Packagist) Fixed in 1.11.17 Advisory →
- Fix · GHSA-xcwx-r2gw-w93m sylius/sylius (Packagist) Fixed in 1.12.23 Advisory →
- Fix · GHSA-xcwx-r2gw-w93m sylius/sylius (Packagist) Fixed in 1.13.15 Advisory →
- Fix · GHSA-xcwx-r2gw-w93m sylius/sylius (Packagist) Fixed in 1.14.18 Advisory →
- Fix · GHSA-xcwx-r2gw-w93m sylius/sylius (Packagist) Fixed in 2.0.16 Advisory →
- Fix · GHSA-xcwx-r2gw-w93m sylius/sylius (Packagist) Fixed in 2.1.12 Advisory →
- Fix · GHSA-xcwx-r2gw-w93m sylius/sylius (Packagist) Fixed in 2.2.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-31825
- 2026-10-03 Alias added: GHSA-xcwx-r2gw-w93m
References
More Sylius vulnerabilities
- TI-2026-24374 Sylius is Missing Authorization in API v2 Add Item Endpoint CVSS 4.0MEDIUM 6.9
- TI-2022-08557 Insufficient Session Expiration in Sylius CVSS 3.1HIGH 8.2
- TI-2024-19437 Sylius 1.12.13 is vulnerable to Cross Site Scripting (XSS) via the "Province" field in Address Book. CVSS 3.1MEDIUM 6.4
- TI-2022-08563 Basic Cross-site Scripting and Unrestricted Upload of File with Dangerous Type in Sylius CVSS 3.1MEDIUM 6.1
- TI-2026-24377 Sylius has a Promotion Usage Limit Bypass via Race Condition CVSS 3.1HIGH 8.2
- TI-2024-37963 A rate limiting issue in Sylius v2.0.2 allows a remote attacker to perform unrestricted… CVSS 3.1HIGH 7.5
Sources
- CVE-2026-31825 · CVE Program
- CVE-2026-31825 · NVD
- FIRST EPSS
- GHSA-xcwx-r2gw-w93m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences