# CVE-2024-42357: Shopware vulnerable to blind SQL-injection in DAL aggregations

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.17% (percentile 67, 2026-11-26)
- **CWE:** CWE-89
- **Aliases:** GHSA-p6w9-r443-r752
- **Published:** 2024-08-08T14:53:57.000Z
- **Modified:** 2026-06-17T07:49:19.247Z

## Who should check

- Projects that depend on Packagist package shopware/core (\< 6.5.8.13)
- Projects that depend on Packagist package shopware/platform (\< 6.5.8.13)
- Anyone running shopware \>= 6.6.0.0, \<= 6.6.5.0; \<= 6.5.8.12

## Description

Shopware is an open commerce platform. Prior to versions 6.6.5.1 and 6.5.8.13, the Shopware application API contains a search functionality which enables users to search through information stored within their Shopware instance. The searches performed by this function can be aggregated using the parameters in the \`aggregations\` object. The \`name\` field in this \`aggregations\` object is vulnerable SQL-injection and can be exploited using SQL parameters. Update to Shopware 6.6.5.1 or 6.5.8.13 to receive a patch. For older versions of 6.1, 6.2, 6.3, and 6.4, corresponding security measures are also available via a plugin.

## Affected and fixed versions

- Packagist `shopware/core`: affected \< 6.5.8.13; fixed 6.5.8.13, 6.6.5.1 (osv)
- Packagist `shopware/platform`: affected \< 6.5.8.13; fixed 6.5.8.13, 6.6.5.1 (osv)
- shopware: \>= 6.6.0.0, \<= 6.6.5.0; \<= 6.5.8.12 (cvelist)

## Mitigation

- Upgrade shopware/core to one of 6.5.8.13, 6.6.5.1 (or later in the same release line).
- Upgrade shopware/platform to one of 6.5.8.13, 6.6.5.1 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-42357. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-42357.md
Affected: shopware/core < 6.5.8.13; shopware/platform < 6.5.8.13
Fixed in: 6.5.8.13, 6.6.5.1

Steps:
1. Search this machine and project for shopware/core (Packagist), shopware/platform (Packagist), shopware: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-42357 being exploited?

There is no confirmed exploitation: CVE-2024-42357 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-42357?

High: CVSS 7.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-42357?

shopware/core \< 6.5.8.13; shopware/platform \< 6.5.8.13.

### Is there a fix for CVE-2024-42357?

Yes. Fixed in 6.5.8.13, 6.6.5.1. Upgrade shopware/core to one of 6.5.8.13, 6.6.5.1 (or later in the same release line). Upgrade shopware/platform to one of 6.5.8.13, 6.6.5.1 (or later in the same release line).

### How do I check if I'm affected by CVE-2024-42357?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/shopware/shopware/security/advisories/GHSA-p6w9-r443-r752>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-42357>
- patch: <https://github.com/shopware/core/commit/63c05615694790f5790a04ef889f42b764fa53c9>
- patch: <https://github.com/shopware/core/commit/a784aa1cec0624e36e0ee4d41aeebaed40e0442f>
- patch: <https://github.com/shopware/shopware/commit/57ea2f3c59483cf7c0f853e7a0d68c23ded1fe5b>
- patch: <https://github.com/shopware/shopware/commit/8504ba7e56e53add6a1d5b9d45015e3d899cd0ac>
- other: <https://github.com/shopware/shopware>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-42357>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-p6w9-r443-r752> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-42357> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-42357>
