# CVE-2026-31825: Sylius has a DQL Injection via API Order Filters

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-03-10T21:33:26.471Z
- Modified: 2026-06-17T10:34:31.727Z
- Also known as: GHSA-xcwx-r2gw-w93m
- Weaknesses: CWE-89, CWE-943
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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; before 1.9.12; from 1.10.0 before 1.10.16; from 1.11.0 before 1.11.17; and 6 more
- sylius/sylius (Packagist): before 1.9.12; from 1.10.0 before 1.10.16; from 1.11.0 before 1.11.17; from 1.12.0 before 1.12.23; from 1.13.0 before 1.13.15; from 1.14.0 before 1.14.18; from 2.0.0 before 2.0.16; from 2.1.0 before 2.1.12; from 2.2.0 before 2.2.3

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/Sylius/Sylius/security/advisories/GHSA-xcwx-r2gw-w93m> (mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-31825> (advisory)
- <https://github.com/Sylius/Sylius> (package)

## Sources

- CVE List: [CVE-2026-31825](https://www.cve.org/CVERecord?id=CVE-2026-31825), CVE Terms of Use, modified 2026-03-11
- GitHub Advisory Database: [GHSA-xcwx-r2gw-w93m](https://github.com/advisories/GHSA-xcwx-r2gw-w93m), CC-BY-4.0, modified 2026-03-13
- NVD: [CVE-2026-31825](https://nvd.nist.gov/vuln/detail/CVE-2026-31825), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-31825 · Whole record: https://cve.day/CVE-2026-31825.json · Rebuilt by cve.day 2026-11-25T22:59:15.678Z
