Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. shopware/platform
  4. ›
  5. GHSA-m895-2hj3-8cg9

GHSA-m895-2hj3-8cg9: Shopware vulnerable to MediaVisibilityRestrictionSubscriber bypass when reading media entities by aggregating fields individually

October 21, 2025

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.

References

  • github.com/advisories/GHSA-m895-2hj3-8cg9
  • github.com/shopware/shopware
  • github.com/shopware/shopware/commit/0965b35a527756faab2cec5a4ff172d79b0f99be
  • github.com/shopware/shopware/security/advisories/GHSA-m895-2hj3-8cg9

Code Behaviors & Features

Detect and mitigate GHSA-m895-2hj3-8cg9 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 6.7.0.0 before 6.7.3.1, all versions before 6.6.10.7

Fixed versions

  • 6.7.3.1
  • 6.6.10.7

Solution

Upgrade to versions 6.6.10.7, 6.7.3.1 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

packagist/shopware/platform/GHSA-m895-2hj3-8cg9.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 06 Dec 2025 00:20:12 +0000.