Improper Neutralization of Special Elements in Data Query Logic Affecting sylius/sylius package, versions <1.9.12>=1.10.0-alpha.1, <1.10.16>=1.11.0-alpha.1, <1.11.17>=1.12.0-alpha.1, <1.12.23>=1.13.0-alpha.1, <1.13.15>=1.14.0-alpha.1, <1.14.18>=2.0.0-alpha.1, <2.0.16>=2.1.0, <2.1.12>=2.2.0, <2.2.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Neutralization of Special Elements in Data Query Logic vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-SYLIUSSYLIUS-15460800
  • published11 Mar 2026
  • disclosed11 Mar 2026
  • creditChris Alupului, Bartlomiej Nowinski

Introduced: 11 Mar 2026

CVE-2026-31825  (opens in a new tab)
CWE-89  (opens in a new tab)
CWE-943  (opens in a new tab)

How to fix?

Upgrade sylius/sylius to version 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 or higher.

Overview

sylius/sylius is a platform for PHP, based on Symfony framework.

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Data Query Logic via the order query parameter in API filters. An attacker can access sensitive information from the database by injecting arbitrary DQL statements through crafted order direction values.

CVSS Base Scores

version 4.0
version 3.1