CVE-2026-31821
published medium CVSS 4.0 · 6.9Sylius is Missing Authorization in API v2 Add Item Endpoint
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Sylius | — | Sylius>= 2.2.0, < 2.2.3 · >= 2.1.0, < 2.1.12 · >= 2.0.0, < 2.0.16 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Sylius | Sylius | >= 2.2.0, < 2.2.3 (affected)>= 2.1.0, < 2.1.12 (affected)>= 2.0.0, < 2.0.16 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-862 CWE-862: Missing Authorization
References
1Provider assertions
2GitHub_M · cna
Sylius is Missing Authorization in API v2 Add Item Endpoint
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a095fdd791bb5f827c5b0a13728723a4f5c493f25f00523f0ecf522d51e5c6c1
- Ingested
- 23 Sep 2026, 09:09:43 UTC
- Source record
- Official CVE record