{"id":"CVE-2026-31821","published":"2026-03-10T21:25:20Z","modified":"2026-03-11T15:19:28Z","title":"Sylius is Missing Authorization in API v2 Add Item Endpoint","vendor":"Sylius","product":"Sylius","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00211,"percentile":0.11525,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/Sylius/Sylius/security/advisories/GHSA-wjmg-4cq5-m8hg","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.1,"factors":[{"name":"EPSS percentile","points":2.31},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"sylius","affectedVersions":[{"vendor":"Sylius","product":"Sylius","versions":[">= 2.2.0, < 2.2.3",">= 2.1.0, < 2.1.12",">= 2.0.0, < 2.0.16"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-11T15:09:13.238186Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"sylius/sylius","vulnerableRanges":[">=2.0.0, <2.0.16",">=2.1.0, <2.1.12",">=2.2.0, <2.2.3"],"patched":["2.0.16","2.1.12","2.2.3"],"from":["GHSA-wjmg-4cq5-m8hg"],"provenance":"source"}],"summary":{"text":"The Sylius eCommerce framework's API v2 endpoint POST /api/v2/shop/orders/{tokenValue}/items, which adds items to a cart, does not check that the requester owns the cart, which is a missing authorization flaw. An unauthenticated remote attacker who knows or obtains another customer's cart tokenValue can add arbitrary items to that cart, and the endpoint returns the full cart representation in its response, so no additional authentication or user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:46Z"},"euvd":{"id":"EUVD-2026-10914","exploited":false,"provenance":"source"}}