CVE-2026-31821
MEDIUM 6.9CVSS 4.0Sylius is Missing Authorization in API v2 Add Item Endpoint
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.
- Published
- 10 Mar 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-862
- Also known as
- GHSA-wjmg-4cq5-m8hg
- Sources
- NVDJSONOSV GHSA-wjmg-4cq5-m8hgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sylius | syliuscpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.0.16 | 2.0.16 |
| NVD | sylius | syliuscpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:* |
>= 2.1.0, < 2.1.12 | 2.1.12 |
| NVD | sylius | syliuscpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:* |
>= 2.2.0, < 2.2.3 | 2.2.3 |
| OSV | Packagist | sylius/sylius | >= 2.0.0, < 2.0.16 | 2.0.16 |
| OSV | Packagist | sylius/sylius | >= 2.1.0, < 2.1.12 | 2.1.12 |
| OSV | Packagist | sylius/sylius | >= 2.2.0, < 2.2.3 | 2.2.3 |
References
- https://github.com/Sylius/Sylius/security/advisories/GHSA-wjmg-4cq5-m8hg · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-31821 · ADVISORY
- https://github.com/Sylius/Sylius · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 10 Mar 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 11 Mar 2026)