GHSA-r2vg-hvjm-fg38: Shopware/platform Shopware Customer Orders Can Be Vulnerability

MODERATE
CVSS 4.3
CWE-862
Published
Advisory Summary

GHSA-r2vg-hvjm-fg38 is a MODERATE (CVSS 4.3) shopware customer orders can be vulnerability (CWE-862: Missing Authorization) affecting Shopware/platform libraries in the Packagist ecosystem. The issue involves shopware customer orders can be canceled, even if refunds are disabled. Remediation is available by upgrading affected packages to version 6.7.3.1, 6.6.10.7.

GHSA-r2vg-hvjm-fg38 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-r2vg-hvjm-fg38
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-862: Missing Authorization
Affected Product Shopware/platform
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 4.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix GHSA-r2vg-hvjm-fg38

To remediate this vulnerability, upgrade all affected Shopware/platform dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

shopware/platform fixed: 6.7.3.1
Upgrade shopware/platform to 6.7.3.1
shopware/platform fixed: 6.6.10.7
Upgrade shopware/platform to 6.6.10.7
shopware/core fixed: 6.7.3.1
Upgrade shopware/core to 6.7.3.1
shopware/core fixed: 6.6.10.7
Upgrade shopware/core to 6.6.10.7
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for shopware/platform

How to Check if You Are Affected

To determine whether your application is affected by GHSA-r2vg-hvjm-fg38, inspect your project dependencies for Shopware/platform:

inspect dependencies for shopware/platform

Analyze the terminal output to locate any version of Shopware/platform in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.7.3.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Shopware/platform, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

GHSA-r2vg-hvjm-fg38 Affected Shopware/platform Versions

4 component(s)
Fixed Versions:
6.7.3.16.6.10.7
Product / Package Ecosystem Affected Versions Fixed Version
shopware/platform
Packagist
≥ 6.7.0.0
< 6.7.3.1
6.7.3.1
shopware/platform
Packagist
< 6.6.10.7
6.6.10.7
shopware/core
Packagist
≥ 6.7.0.0
< 6.7.3.1
6.7.3.1
shopware/core
Packagist
< 6.6.10.7
6.6.10.7

References

Frequently Asked Questions

What is GHSA-r2vg-hvjm-fg38?
GHSA-r2vg-hvjm-fg38 is a security vulnerability in Shopware/platform involving Shopware Customer Orders can be canceled, even if refunds are disabled under CWE-862: Missing Authorization.
Which Shopware/platform versions are affected?
Affected versions include releases prior to 6.7.3.1, 6.6.10.7 across affected packages: shopware/platform, shopware/core.
What version fixes GHSA-r2vg-hvjm-fg38?
Upgrading to 6.7.3.1, 6.6.10.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is shopware/platform affected?
Yes, shopware/platform is affected in releases prior to 6.7.3.1, 6.6.10.7. Upgrade your dependency to 6.7.3.1, 6.6.10.7 or later.
Is shopware/core affected?
Yes, shopware/core is affected in releases prior to 6.7.3.1, 6.6.10.7. Upgrade your dependency to 6.7.3.1, 6.6.10.7 or later.
What is the CVSS score of GHSA-r2vg-hvjm-fg38?
GHSA-r2vg-hvjm-fg38 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with GHSA-r2vg-hvjm-fg38?
GHSA-r2vg-hvjm-fg38 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Packagist dependencies for GHSA-r2vg-hvjm-fg38?
Run the dependency tree command: 'inspect dependencies for shopware/platform'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-r2vg-hvjm-fg38",
  "modified" : "2025-10-21T18:03:27Z",
  "published" : "2025-10-21T18:03:27Z",
  "aliases" : [ ],
  "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):\nhttps://github.com/shopware/shopware/blob/trunk/src/Storefront/Controller/AccountOrderController.php#L98\nhttps://github.com/shopware/shopware/blob/trunk/src/Core/Checkout/Order/SalesChannel/CancelOrderRoute.php\n\nTo mitigate this, a check should be added to the `CancelOrderRoute` which verifies that the feature is enabled.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "shopware/platform"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.7.0.0"
      }, {
        "fixed" : "6.7.3.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "shopware/platform"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.6.10.7"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "shopware/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.7.0.0"
      }, {
        "fixed" : "6.7.3.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "shopware/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.6.10.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/shopware/shopware/security/advisories/GHSA-r2vg-hvjm-fg38"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/shopware/shopware/commit/b157508aef2c820e7ff89ebd5848d3019f22b592"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/shopware/shopware"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-10-21T18:03:27Z",
    "nvd_published_at" : null
  }
}