MediumGHSA-r2vg-hvjm-fg38

Shopware Customer Orders can be canceled, even if refunds are disabled

Published 21 Oct 2025 · Updated 10 Sept 2026

Affected packages

Affected
>=6.7.0.0 <6.7.3.1
Fixed in
6.7.3.1
Update to the fixed version for your release line, for example:composer require shopware/platform:^6.7.3.1
Affected
<6.6.10.7
Fixed in
6.6.10.7
Update to the fixed version for your release line, for example:composer require shopware/platform:^6.6.10.7
Affected
>=6.7.0.0 <6.7.3.1
Fixed in
6.7.3.1
Update to the fixed version for your release line, for example:composer require shopware/core:^6.7.3.1
Affected
<6.6.10.7
Fixed in
6.6.10.7
Update to the fixed version for your release line, for example:composer require shopware/core:^6.6.10.7

Details

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): https://github.com/shopware/shopware/blob/trunk/src/Storefront/Controller/AccountOrderController.php#L98 https://github.com/shopware/shopware/blob/trunk/src/Core/Checkout/Order/SalesChannel/CancelOrderRoute.php

To mitigate this, a check should be added to the CancelOrderRoute which verifies that the feature is enabled.

Is GHSA-r2vg-hvjm-fg38 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected shopware/platform, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.