{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-31821","id":"CVE-2026-31821","title":"Sylius is Missing Authorization in API v2 Add Item Endpoint","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","descriptionLong":"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":"2026-03-10T21:25:20.368Z","updated":"2026-10-28T02:31:14.563741375Z","reserved":"2026-03-09T17:41:56.076Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":6.9,"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":6.9,"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":6.9,"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/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","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["Sylius"],"affectedProducts":[{"vendor":"Sylius","product":"Sylius","defaultStatus":null,"versions":[{"version":">= 2.2.0, < 2.2.3","status":"affected"},{"version":">= 2.1.0, < 2.1.12","status":"affected"},{"version":">= 2.0.0, < 2.0.16","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"sylius/sylius","purl":"pkg:composer/sylius/sylius","ranges":[">=2.0.0 <2.0.16",">=2.1.0 <2.1.12",">=2.2.0 <2.2.3"],"fixed":["2.0.16","2.1.12","2.2.3"],"advisory":"GHSA-wjmg-4cq5-m8hg"}],"cwes":["CWE-862"],"aliases":["GHSA-wjmg-4cq5-m8hg"],"references":[{"url":"https://github.com/Sylius/Sylius/security/advisories/GHSA-wjmg-4cq5-m8hg","tags":["x_refsource_CONFIRM","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31821.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31821","tags":["advisory"]},{"url":"https://github.com/Sylius/Sylius","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00211,"epssPercentile":0.11426,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-31821","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31821","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-31821","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-wjmg-4cq5-m8hg","ok":true,"note":"GHSA-wjmg-4cq5-m8hg"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-31821","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}