{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "2.2.0"
              },
              {
                "fixed": "2.2.3"
              }
            ]
          },
          "events": [
            {
              "introduced": "7aa47be3a617f75337d73d245352ea700bc8a1ef"
            },
            {
              "fixed": "111d96b1bea7cb59bc2f7b4c6d35d5cd05872195"
            }
          ],
          "repo": "https://github.com/sylius/sylius",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "2.1.0"
              },
              {
                "fixed": "2.1.12"
              }
            ]
          },
          "events": [
            {
              "introduced": "a5a816f9f1fcb5abd2d42b27801656aa2ae9bf0d"
            },
            {
              "fixed": "d8092f21ee9606b0155231fe892d9d54fc44986e"
            }
          ],
          "repo": "https://github.com/sylius/sylius",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "2.0.0"
              },
              {
                "fixed": "2.0.16"
              }
            ]
          },
          "events": [
            {
              "introduced": "6dd3ca9895be7ab7e6cb71f37af2ef66af17cbe0"
            },
            {
              "fixed": "af579b0b6eaa10ea0883fb458484718c80fc96c7"
            }
          ],
          "repo": "https://github.com/sylius/sylius",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "1.14.0"
              },
              {
                "fixed": "1.14.18"
              }
            ]
          },
          "events": [
            {
              "introduced": "57dcd9e53275a880c77d4ec2c4fad9f567f420be"
            },
            {
              "fixed": "904251ad760dfdc4a3ad321144bdb1bade159019"
            }
          ],
          "repo": "https://github.com/sylius/sylius",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "1.13.0"
              },
              {
                "fixed": "1.13.15"
              }
            ]
          },
          "events": [
            {
              "introduced": "c8799bea638c5e4ab07a28f66f628d38d8174b41"
            },
            {
              "fixed": "0b2babf51968a8d27b4ae8dcb9121e222272f006"
            }
          ],
          "repo": "https://github.com/sylius/sylius",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "1.12.0"
              },
              {
                "fixed": "1.12.23"
              }
            ]
          },
          "events": [
            {
              "introduced": "74dd42a09e50620a5f54f9a01676e003160d9f3a"
            },
            {
              "fixed": "e3d9bd29624b531884e998f1458b5955bbbb0552"
            }
          ],
          "repo": "https://github.com/sylius/sylius",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "1.11.0"
              },
              {
                "fixed": "1.11.17"
              }
            ]
          },
          "events": [
            {
              "introduced": "d8a10279adea6a11039f2aeef37bc2cbc686c971"
            },
            {
              "fixed": "523412eb780f501dd9bcb6f718e65640c606863c"
            }
          ],
          "repo": "https://github.com/sylius/sylius",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "1.10.0"
              },
              {
                "fixed": "1.10.16"
              }
            ]
          },
          "events": [
            {
              "introduced": "a367bc010cbee9fdf491dc76397198231f14ab63"
            },
            {
              "fixed": "82c395a524fff8a732e4f466d0c6bdca48e63a39"
            }
          ],
          "repo": "https://github.com/sylius/sylius",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.9.12"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "8da3f314f52152b88433651aab5743c06a6820c8"
            }
          ],
          "repo": "https://github.com/sylius/sylius",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-xcwx-r2gw-w93m"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-89",
      "CWE-943"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31825.json"
  },
  "details": "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.",
  "id": "CVE-2026-31825",
  "modified": "2026-04-01T23:09:14.115097488Z",
  "published": "2026-03-10T21:33:26.471Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31825.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Sylius/Sylius/security/advisories/GHSA-xcwx-r2gw-w93m"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31825"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Sylius has a DQL Injection via API Order Filters"
}