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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-10-21T18:02:01.000Z
- Modified: 2026-09-10T03:50:30.119Z
- Weaknesses: CWE-863

## Description

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.

(As written by GitHub Advisory Database.)

## Affected

- shopware/platform (Packagist): from 6.7.0.0 before 6.7.3.1; before 6.6.10.7
- shopware/core (Packagist): from 6.7.0.0 before 6.7.3.1; before 6.6.10.7

## References

- <https://github.com/shopware/shopware/security/advisories/GHSA-m895-2hj3-8cg9> (web)
- <https://github.com/shopware/shopware/commit/0965b35a527756faab2cec5a4ff172d79b0f99be> (web)
- <https://github.com/shopware/shopware> (package)

## Sources

- GitHub Advisory Database: [GHSA-m895-2hj3-8cg9](https://github.com/advisories/GHSA-m895-2hj3-8cg9), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/GHSA-m895-2hj3-8cg9 · Whole record: https://cve.day/GHSA-m895-2hj3-8cg9.json · Rebuilt by cve.day 2026-11-25T22:56:32.542Z
