GHSA-m895-2hj3-8cg9: Shopware/platform Shopware Vulnerable To MediaVisibilityRestrictionSubscriber Bypass Vulnerability
MODERATEGHSA-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
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).
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.
Upgrade shopware/platform to 6.7.3.1
Upgrade shopware/platform to 6.6.10.7
Upgrade shopware/core to 6.7.3.1
Upgrade shopware/core to 6.6.10.7
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
GHSA-m895-2hj3-8cg9 Affected Shopware/platform Versions
4 component(s)| 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?
Which Shopware/platform versions are affected?
What version fixes GHSA-m895-2hj3-8cg9?
Is shopware/platform affected?
Is shopware/core affected?
What is the CVSS score of GHSA-m895-2hj3-8cg9?
What CWE is associated with GHSA-m895-2hj3-8cg9?
How can I check Packagist dependencies for GHSA-m895-2hj3-8cg9?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}