CVE-2026-31825 PUBLISHED

Sylius has a DQL Injection via API Order Filters

Assigner: GitHub_M
Reserved: 09.03.2026 Published: 10.03.2026 Updated: 11.03.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS Score: 5.3

Product Status

Vendor Sylius
Product Sylius
Versions
  • Version >= 2.2.0, < 2.2.3 is affected
  • Version >= 2.1.0, < 2.1.12 is affected
  • Version >= 2.0.0, < 2.0.16 is affected
  • Version >= 1.14.0, < 1.14.18 is affected
  • Version >= 1.13.0, < 1.13.15 is affected
  • Version >= 1.12.0, < 1.12.23 is affected
  • Version >= 1.11.0, < 1.11.17 is affected
  • Version >= 1.10.0, < 1.10.16 is affected
  • Version < 1.9.12 is affected

References

Problem Types

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') CWE
  • CWE-943: Improper Neutralization of Special Elements in Data Query Logic CWE