Advisory

GHSA-r2vg-hvjm-fg38

Also known as: None

Summary

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

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-10-21 18:03 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

shopware/platform

Packagist · All systems

Affected

  • introduced 6.7.0.0, fixed 6.7.3.1 (ecosystem)

Fixed versions

6.7.3.1

Fix

The export has no generic command for this ecosystem.

shopware/platform

Packagist · All systems

Affected

  • introduced 0, fixed 6.6.10.7 (ecosystem)

Fixed versions

6.6.10.7

Fix

The export has no generic command for this ecosystem.

shopware/core

Packagist · All systems

Affected

  • introduced 6.7.0.0, fixed 6.7.3.1 (ecosystem)

Fixed versions

6.7.3.1

Fix

The export has no generic command for this ecosystem.

shopware/core

Packagist · All systems

Affected

  • introduced 0, fixed 6.6.10.7 (ecosystem)

Fixed versions

6.6.10.7

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences