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.
Cite this page
CVE-2026-31821. CVEDatabase.com. Retrieved 1 May 2026. https://cvedatabase.com/cve/CVE-2026-31821
Use CWE-862, Sylius vendor hub and Sylius product page to widen CVE-2026-31821 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2026-31824, CVE-2024-57610 and CVE-2026-31820 for nearby disclosures in the same product family.