Advisory

GHSA-m895-2hj3-8cg9

Also known as: None

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

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-10-21 18:02 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

shopware/platform

Packagist · All systems

Affected

  • introduced 6.7.0.0, fixed 6.7.3.1 (ecosystem)

Fixed versions

6.7.3.1

Fix

The export has no generic command for this ecosystem.

shopware/platform

Packagist · All systems

Affected

  • introduced 0, fixed 6.6.10.7 (ecosystem)

Fixed versions

6.6.10.7

Fix

The export has no generic command for this ecosystem.

shopware/core

Packagist · All systems

Affected

  • introduced 6.7.0.0, fixed 6.7.3.1 (ecosystem)

Fixed versions

6.7.3.1

Fix

The export has no generic command for this ecosystem.

shopware/core

Packagist · All systems

Affected

  • introduced 0, fixed 6.6.10.7 (ecosystem)

Fixed versions

6.6.10.7

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences