GHSA-r2vg-hvjm-fg38 Shopware Customer Orders can be canceled, even if refunds are disabled
Authenticated customers can cancel orders despite disabled refunds due to missing backend validation, allowing unauthorized order cancellations.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-r2vg-hvjm-fg38?
GHSA-r2vg-hvjm-fg38 is a vulnerability in shopware/core, published on 21 Oct 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Which versions are affected by GHSA-r2vg-hvjm-fg38?
8 open source packages ship an affected version, including shopware/core and shopware/platform.
| Package | Affected | Fixed in |
|---|---|---|
shopware/core Packagist | All versions | 6.6.10.7 |
shopware/core Packagist | All versions | 6.6.10.7 |
shopware/core Packagist | From 6.7.0.0 | 6.7.3.1 |
shopware/core Packagist | From 6.7.0.0 | 6.7.3.1 |
shopware/platform Packagist | All versions | 6.6.10.7 |
shopware/platform Packagist | All versions | 6.6.10.7 |
2 more packages
shopware/platform Packagist | From 6.7.0.0 | 6.7.3.1 |
shopware/platform Packagist | From 6.7.0.0 | 6.7.3.1 |
How do I fix GHSA-r2vg-hvjm-fg38?
Upgrade shopware/core to a fixed version for your release line: 6.6.10.7 or 6.7.3.1.
Is GHSA-r2vg-hvjm-fg38 being exploited?
There is no known exploitation of GHSA-r2vg-hvjm-fg38 in the wild and no public exploit code.