Live threats

All CVEs / Sylius

CVE-2026-31821Sylius

Medium 6.9 No auth needed

Priority
56
CVSS 4.0
6.9
EPSS
—
Auth required
No
Published
Mar 10, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-862
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Sylius is an Open Source eCommerce Framework on Symfony. The POST /api/v2/shop/orders/{tokenValue}/items endpoint does not verify cart ownership. An unauthenticated attacker can add items to other registered customers' carts by knowing the cart tokenValue. An attacker who obtains a cart tokenValue can add arbitrary items to another customer's cart. The endpoint returns the full cart representation in the response (HTTP 201). The issue is fixed in versions: 2.0.16, 2.1.12, 2.2.3 and above.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sylius.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist sylius/sylius ≥ 2.0.0 < 2.0.16 2.0.16 composer require "sylius/sylius:^2.0.16"
Packagist sylius/sylius ≥ 2.1.0 < 2.1.12 2.1.12 composer require "sylius/sylius:^2.1.12"
Packagist sylius/sylius ≥ 2.2.0 < 2.2.3 2.2.3 composer require "sylius/sylius:^2.2.3"

Per OSV / GitHub Advisories (GHSA-wjmg-4cq5-m8hg). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
syliussylius≥ 2.0.0 < 2.0.16
syliussylius≥ 2.1.0 < 2.1.12
syliussylius≥ 2.2.0 < 2.2.3

Official sources

References

Links published by the sources. Open them with care.