# GHSA-r2vg-hvjm-fg38: Shopware Customer Orders can be canceled, even if refunds are disabled

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-10-21T18:03:27.000Z
- Modified: 2026-09-10T03:50:30.221Z
- Weaknesses: CWE-862

## 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.

(As written by GitHub Advisory Database.)

## Affected

- shopware/platform (Packagist): from 6.7.0.0 before 6.7.3.1; before 6.6.10.7
- shopware/core (Packagist): from 6.7.0.0 before 6.7.3.1; before 6.6.10.7

## References

- <https://github.com/shopware/shopware/security/advisories/GHSA-r2vg-hvjm-fg38> (web)
- <https://github.com/shopware/shopware/commit/b157508aef2c820e7ff89ebd5848d3019f22b592> (web)
- <https://github.com/shopware/shopware> (package)

## Sources

- GitHub Advisory Database: [GHSA-r2vg-hvjm-fg38](https://github.com/advisories/GHSA-r2vg-hvjm-fg38), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/GHSA-r2vg-hvjm-fg38 · Whole record: https://cve.day/GHSA-r2vg-hvjm-fg38.json · Rebuilt by cve.day 2026-11-25T22:56:32.902Z
