# GHSA-3cpp-fv95-mpr5: Shopware vulnerable to Server-Side Request Forgery (SSRF) – order invoice

> Admins can trigger SSRF via invoice notes, allowing access to internal resources or external servers through the PDF generator.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 21 Oct 2025

## What is GHSA-3cpp-fv95-mpr5?

GHSA-3cpp-fv95-mpr5 is a server-side request forgery vulnerability in shopware/core, published on 21 Oct 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

### Official description

### Impact
This vulnerability allows malicious actors to force the application server to send HTTP requests to both external and internal servers. In certain cases, this may lead to access to internal resources such as databases, file systems, or other services that are not supposed to be directly accessible from the internet.

The overall impact of this vulnerability is considered limited, as the functionality is highly restricted and only processes IMG tags.

#### Description
Server-Side Request Forgery (SSRF) is a vulnerability that enables a malicious actor to manipulate an application server into performing HTTP requests to arbitrary domains. SSRF is commonly exploited to make the server initiate requests to its internal systems or other services within the same network, which are typically not exposed to external users. In some cases, SSRF can also be used to target external systems. A successful SSRF attack can result in unauthorized actions or access to data within the
organization, the web application itself, or other backend systems the application communicates with. In worst-case scenario, a SSRF vulnerability can be exploited to execute malicious code on the server.

#### Applicability 
The PDF generator used to create order invoices contains a Server-Side Request Forgery (SSRF)
vulnerability.
Administrative users can generate invoices for completed orders and have the option to add a note to the invoice. This input is currently not adequately filtered for (malicious) HTML characters. When a malicious actor submits an IMG tag as input, the PDF generator attempts to retrieve an external image while processing the IMG tag. As a result, the application server can be used to perform an HTTP request, enabling the malicious actors to reach both external and internal servers.
To exploit this vulnerability, an admin account is required.

#### Reproduction
To reproduce this vulnerability, the steps below can be followed.
1. Log in as an admin and navigate to the following URL:
https://<your-site>.shopware.store/admin#/sw/order/detail/0198e0afa2cb70ceb76ad64fc7864ca6/documents?limit=25&page=1&term=&sortBy&sortDirection=ASC&naturalSorting=false
2. Click the button ‘Create document’ and create a ‘Partial cancellation’ document.
3. As a comment add the following code:
```
<img src="<malicious image link>" width="250" height="100"/>
```
4. Press the preview button to view the PFD.
5. Observe that the image is shown in the PDF.

## Which versions are affected by GHSA-3cpp-fv95-mpr5?

8 open source packages ship an affected version, including shopware/core and shopware/platform.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `shopware/core` | Packagist | All versions | 6.6.10.7 |
| `shopware/core` | Packagist | All versions | 6.6.10.7 |
| `shopware/core` | Packagist | From 6.7.0.0 | 6.7.3.1 |
| `shopware/core` | Packagist | From 6.7.0.0 | 6.7.3.1 |
| `shopware/platform` | Packagist | All versions | 6.6.10.7 |
| `shopware/platform` | Packagist | All versions | 6.6.10.7 |
| `shopware/platform` | Packagist | From 6.7.0.0 | 6.7.3.1 |
| `shopware/platform` | Packagist | From 6.7.0.0 | 6.7.3.1 |

## How do I fix GHSA-3cpp-fv95-mpr5?

Upgrade shopware/core to a fixed version for your release line: 6.6.10.7 or 6.7.3.1.

## Is GHSA-3cpp-fv95-mpr5 being exploited?

There is no known exploitation of GHSA-3cpp-fv95-mpr5 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-3cpp-fv95-mpr5 and fix it if it is affected.

What it is: GHSA-3cpp-fv95-mpr5 is a server-side request forgery vulnerability in shopware/core, published on 21 Oct 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of GHSA-3cpp-fv95-mpr5 in the wild and no public exploit code.

Affected packages and fixed versions:
- shopware/core (Packagist): affected all versions; fixed in 6.6.10.7
- shopware/core (Packagist): affected all versions; fixed in 6.6.10.7
- shopware/core (Packagist): affected from 6.7.0.0; fixed in 6.7.3.1
- shopware/core (Packagist): affected from 6.7.0.0; fixed in 6.7.3.1
- shopware/platform (Packagist): affected all versions; fixed in 6.6.10.7
- shopware/platform (Packagist): affected all versions; fixed in 6.6.10.7
- shopware/platform (Packagist): affected from 6.7.0.0; fixed in 6.7.3.1
- shopware/platform (Packagist): affected from 6.7.0.0; fixed in 6.7.3.1

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/GHSA-3cpp-fv95-mpr5/ (Markdown: https://insights.sbomify.com/GHSA-3cpp-fv95-mpr5/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-3cpp-fv95-mpr5

---
From sbomify Insights: https://insights.sbomify.com/GHSA-3cpp-fv95-mpr5/
Summaries are generated and may contain mistakes; the official description above is the record.
