CVE-2026-31821 MEDIUM

CVE-2026-31821: Sylius is Missing Authorization in API v2 Add Item Endpoint

Vendor Sylius
Product Sylius
Weakness CWE-862 · Missing authorization
Published March 10, 2026
Last update March 11, 2026

CVSS base score

6.9/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 10, 2026 CVE published
March 11, 2026 Record updated

Related vulnerabilities

04Related CVE