{"id":"GHSA-r2vg-hvjm-fg38","aliases":["GHSA-r2vg-hvjm-fg38"],"related":[],"kind":"vulnerability","state":"published","title":"Shopware Customer Orders can be canceled, even if refunds are disabled","summary":"Refunds in general can be enabled through the administration setting `core.cart.enableOrderRefunds` (in the cart panel).Which visually shows and hides the button. However, using a custom crafted request, a customer can still cancel his own orders.As this is not checked inside the route (and also not in the controller):\nhttps://github.com/shopware/shopware/blob/trunk/src/Storefront/Controller/AccountOrderController.php#L98\nhttps://github.com/shopware/shopware/blob/trunk/src/Core/Checkout/Order/SalesChannel/CancelOrderRoute.php\n\nTo mitigate this, a check should be added to the `CancelOrderRoute` which verifies that the feature is enabled.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Refunds in general can be enabled through the administration setting `core.cart.enableOrderRefunds` (in the cart panel).Which visually shows and hides the button. However, using a custom crafted request, a customer can still cancel his own orders.As this is not checked inside the route (and also not in the controller):\nhttps://github.com/shopware/shopware/blob/trunk/src/Storefront/Controller/AccountOrderController.php#L98\nhttps://github.com/shopware/shopware/blob/trunk/src/Core/Checkout/Order/SalesChannel/CancelOrderRoute.php\n\nTo mitigate this, a check should be added to the `CancelOrderRoute` which verifies that the feature is enabled.","format":"markdown","source":"ghsa"}],"published":"2025-10-21T18:03:27.000Z","modified":"2026-09-10T03:50:30.221Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"6.7.0.0","status":"affected","fixed":"6.7.3.1"}],"ecosystem":"Packagist","package":"shopware/platform","purl":"pkg:composer/shopware/platform","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.6.10.7"}],"ecosystem":"Packagist","package":"shopware/platform","purl":"pkg:composer/shopware/platform","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.7.0.0","status":"affected","fixed":"6.7.3.1"}],"ecosystem":"Packagist","package":"shopware/core","purl":"pkg:composer/shopware/core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.6.10.7"}],"ecosystem":"Packagist","package":"shopware/core","purl":"pkg:composer/shopware/core","source":"ghsa"}],"references":[{"url":"https://github.com/shopware/shopware/security/advisories/GHSA-r2vg-hvjm-fg38","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/shopware/shopware/commit/b157508aef2c820e7ff89ebd5848d3019f22b592","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/shopware/shopware","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r2vg-hvjm-fg38","url":"https://github.com/advisories/GHSA-r2vg-hvjm-fg38","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:30.221Z"}],"updatedAt":"2026-11-25T22:56:32.902Z"}