Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. shopware/platform
  4. ›
  5. GHSA-r2vg-hvjm-fg38

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

October 21, 2025

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.

References

  • github.com/advisories/GHSA-r2vg-hvjm-fg38
  • github.com/shopware/shopware
  • github.com/shopware/shopware/commit/b157508aef2c820e7ff89ebd5848d3019f22b592
  • github.com/shopware/shopware/security/advisories/GHSA-r2vg-hvjm-fg38

Code Behaviors & Features

Detect and mitigate GHSA-r2vg-hvjm-fg38 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 6.7.0.0 before 6.7.3.1, all versions before 6.6.10.7

Fixed versions

  • 6.7.3.1
  • 6.6.10.7

Solution

Upgrade to versions 6.6.10.7, 6.7.3.1 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

packagist/shopware/platform/GHSA-r2vg-hvjm-fg38.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 25 Nov 2025 12:18:56 +0000.