Skip to content

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

Moderate severity GitHub Reviewed Published Oct 21, 2025 in shopware/shopware • Updated Oct 21, 2025

Package

composer shopware/core (Composer)

Affected versions

>= 6.7.0.0, < 6.7.3.1
< 6.6.10.7

Patched versions

6.7.3.1
6.6.10.7
composer shopware/platform (Composer)
>= 6.7.0.0, < 6.7.3.1
< 6.6.10.7
6.7.3.1
6.6.10.7

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.

References

@philipreinken philipreinken published to shopware/shopware Oct 21, 2025
Published to the GitHub Advisory Database Oct 21, 2025
Reviewed Oct 21, 2025
Last updated Oct 21, 2025

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

EPSS score

Weaknesses

Missing Authorization

The product does not perform an authorization check when an actor attempts to access a resource or perform an action. Learn more on MITRE.

CVE ID

No known CVE

GHSA ID

GHSA-r2vg-hvjm-fg38

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.