GHSA-m895-2hj3-8cg9: Shopware/platform Shopware Vulnerable To MediaVisibilityRestrictionSubscriber Bypass Vulnerability

MODERATE
CVSS 5.3
CWE-863
Published
Advisory Summary

GHSA-m895-2hj3-8cg9 is a MODERATE (CVSS 5.3) shopware vulnerable to mediavisibilityrestrictionsubscriber bypass vulnerability (CWE-863: Incorrect Authorization) affecting Shopware/platform libraries in the Packagist ecosystem. The issue involves shopware vulnerable to mediavisibilityrestrictionsubscriber bypass when reading media entities by aggregating fields individually. Remediation is available by upgrading affected packages to version 6.7.3.1, 6.6.10.7.

GHSA-m895-2hj3-8cg9 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-m895-2hj3-8cg9
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-863: Incorrect Authorization
Affected Product Shopware/platform
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.3

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

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

How to Fix GHSA-m895-2hj3-8cg9

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-m895-2hj3-8cg9, 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-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. 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

In Shopware core and platform versions before 6.6.10.7 and 6.7.3.1, media visibility restrictions applied by MediaVisibilityRestrictionSubscriber are not enforced for aggregation API requests. Authorization filters are only injected during standard entity reads; aggregation queries can be constructed to bypass these checks and enumerate private media records such as invoices or other restricted documents. A low‑privilege backend user (e.g., product editor) can chain normal business flows (creating or viewing orders) with aggregation queries to disclose sensitive customer data including addresses and payment-related information contained within associated private media. The issue is resolved in 6.6.10.7 and 6.7.3.1.

GHSA-m895-2hj3-8cg9 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-m895-2hj3-8cg9?
GHSA-m895-2hj3-8cg9 is a security vulnerability in Shopware/platform involving Shopware vulnerable to MediaVisibilityRestrictionSubscriber bypass when reading media entities by aggregating fields individually under CWE-863: Incorrect 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-m895-2hj3-8cg9?
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-m895-2hj3-8cg9?
GHSA-m895-2hj3-8cg9 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with GHSA-m895-2hj3-8cg9?
GHSA-m895-2hj3-8cg9 is classified under CWE-863: Incorrect Authorization (The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.).
How can I check Packagist dependencies for GHSA-m895-2hj3-8cg9?
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-m895-2hj3-8cg9",
  "modified" : "2025-10-21T18:02:01Z",
  "published" : "2025-10-21T18:02:01Z",
  "aliases" : [ ],
  "summary" : "Shopware vulnerable to MediaVisibilityRestrictionSubscriber bypass when reading media entities by aggregating fields individually",
  "details" : "In Shopware core and platform versions before 6.6.10.7 and 6.7.3.1, media visibility restrictions applied by MediaVisibilityRestrictionSubscriber are not enforced for aggregation API requests. Authorization filters are only injected during standard entity reads; aggregation queries can be constructed to bypass these checks and enumerate private media records such as invoices or other restricted documents. A low‑privilege backend user (e.g., product editor) can chain normal business flows (creating or viewing orders) with aggregation queries to disclose sensitive customer data including addresses and payment-related information contained within associated private media. The issue is resolved in 6.6.10.7 and 6.7.3.1.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/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-m895-2hj3-8cg9"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/shopware/shopware/commit/0965b35a527756faab2cec5a4ff172d79b0f99be"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/shopware/shopware"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-10-21T18:02:01Z",
    "nvd_published_at" : null
  }
}