CVE-2026-31825
published medium CVSS 3.1 · 5.3Sylius has a DQL Injection via API Order Filters
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Sylius | — | Sylius>= 2.2.0, < 2.2.3 · >= 2.1.0, < 2.1.12 · >= 2.0.0, < 2.0.16 · >= 1.14.0, < 1.14.18 · >= 1.13.0, < 1.13.15 · >= 1.12.0, < 1.12.23 · >= 1.11.0, < 1.11.17 · >= 1.10.0, < 1.10.16 · < 1.9.12 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Sylius | Sylius | >= 2.2.0, < 2.2.3 (affected)>= 2.1.0, < 2.1.12 (affected)>= 2.0.0, < 2.0.16 (affected)>= 1.14.0, < 1.14.18 (affected)>= 1.13.0, < 1.13.15 (affected)>= 1.12.0, < 1.12.23 (affected)>= 1.11.0, < 1.11.17 (affected)>= 1.10.0, < 1.10.16 (affected)< 1.9.12 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- CWE-943 CWE-943: Improper Neutralization of Special Elements in Data Query Logic
References
1Provider assertions
2GitHub_M · cna
Sylius has a DQL Injection via API Order Filters
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bb546aeb6929b3e6c096fc9271ba5eec544035a2cfcfb00c9a27866ee36375b4
- Ingested
- 23 Sep 2026, 09:09:43 UTC
- Source record
- Official CVE record