CVE-2024-42354
PHP vulnerability analysis and mitigation

Overview

Shopware, an open commerce platform, disclosed a vulnerability (CVE-2024-42354) affecting versions prior to 6.6.5.1 and 6.5.8.13. The vulnerability relates to improper access control in the store-API's handling of ManyToMany associations. The issue was discovered and disclosed on August 8, 2024 (GitHub Advisory).

Technical details

The vulnerability stems from the store-API's processing of entity fields, where fields need to be marked as ApiAware in the EntityDefinition to be exposed in the public API. The processing of the Criteria failed to properly consider ManyToMany associations, resulting in security protections being bypassed. The vulnerability has been assigned a CVSS v3.1 score of 5.9 MEDIUM (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N) by NIST NVD (NVD).

Impact

While this vulnerability cannot be reproduced with default Shopware entities, it can be triggered through extensions. The primary impact is on data confidentiality, as indicated by the CVSS metrics showing high confidentiality impact but no impact on integrity or availability (GitHub Advisory).

Exploitability

The vulnerability requires network access and has high attack complexity. No privileges are required to exploit the vulnerability, though user interaction may be needed in some scenarios. The vulnerability affects the base software but can only be exploited through custom extensions (NVD).

Mitigation and workarounds

Users are recommended to update to Shopware versions 6.6.5.1 or 6.5.8.13 to receive the security patch. For older versions (6.2, 6.3, and 6.4), security measures are available via a plugin. For optimal security, updating to the latest Shopware version is recommended (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-wg23-69c2-gjc8CRITICAL9.1
  • PHP logoPHP
  • craftcms/cms
NoYesAug 07, 2026
CVE-2026-71488HIGH7.5
  • PHP logoPHP
  • php-league-commonmark
NoYesAug 06, 2026
CVE-2026-62996MEDIUM6.9
  • PHP logoPHP
  • smarty/smarty
NoYesAug 07, 2026
CVE-2026-62992MEDIUM6.9
  • PHP logoPHP
  • smarty/smarty
NoYesAug 07, 2026
CVE-2026-71478MEDIUM6.1
  • PHP logoPHP
  • league/commonmark
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management