CVE-2026-31821

Severity CVSS v4.0:
MEDIUM
Type:
Unavailable / Other
Publication date:
10/03/2026
Last modified:
11/03/2026

Description

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:* 2.0.0 (including) 2.0.16 (excluding)
cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:* 2.1.0 (including) 2.1.12 (excluding)
cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:* 2.2.0 (including) 2.2.3 (excluding)