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.
{
"cwe_ids": [
"CWE-89",
"CWE-943"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31825.json"
}{
"versions": [
{
"introduced": "2.2.0"
},
{
"fixed": "2.2.3"
}
]
}{
"versions": [
{
"introduced": "2.1.0"
},
{
"fixed": "2.1.12"
}
]
}{
"versions": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.0.16"
}
]
}{
"versions": [
{
"introduced": "1.14.0"
},
{
"fixed": "1.14.18"
}
]
}{
"versions": [
{
"introduced": "1.13.0"
},
{
"fixed": "1.13.15"
}
]
}{
"versions": [
{
"introduced": "1.12.0"
},
{
"fixed": "1.12.23"
}
]
}{
"versions": [
{
"introduced": "1.11.0"
},
{
"fixed": "1.11.17"
}
]
}