Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-31825 EUVD-2026-10923GHSA-xcwx-r2gw-w93m

Sylius has a DQL Injection via API Order Filters

Published Mar 10, 2026 · Updated Mar 11, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
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 packages

EcosystemPackageAffectedFixedRecord
Packagist sylius/sylius < 1.9.12 1.9.12 GHSA-xcwx-r2gw-w93m
Packagist sylius/sylius >= 1.10.0, < 1.10.16 1.10.16 GHSA-xcwx-r2gw-w93m
Packagist sylius/sylius >= 1.11.0, < 1.11.17 1.11.17 GHSA-xcwx-r2gw-w93m
Packagist sylius/sylius >= 1.12.0, < 1.12.23 1.12.23 GHSA-xcwx-r2gw-w93m
Packagist sylius/sylius >= 1.13.0, < 1.13.15 1.13.15 GHSA-xcwx-r2gw-w93m
Packagist sylius/sylius >= 1.14.0, < 1.14.18 1.14.18 GHSA-xcwx-r2gw-w93m
Packagist sylius/sylius >= 2.0.0, < 2.0.16 2.0.16 GHSA-xcwx-r2gw-w93m
Packagist sylius/sylius >= 2.1.0, < 2.1.12 2.1.12 GHSA-xcwx-r2gw-w93m
Packagist sylius/sylius >= 2.2.0, < 2.2.3 2.2.3 GHSA-xcwx-r2gw-w93m

References