# GHSA-28fw-88hq-6jmm: Persistent XSS in shopping worlds

> Attackers can inject persistent scripts into shopping worlds, potentially stealing user data or hijacking accounts; users should upgrade to the latest version.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 13 Nov 2020

## What is GHSA-28fw-88hq-6jmm?

GHSA-28fw-88hq-6jmm is a cross-site scripting vulnerability in shopware/shopware, published on 13 Nov 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

### Official description

### Impact
Persistent XSS in shopping worlds

### Patches

We recommend updating to the current version 5.6.9. You can get the update to 5.6.9 regularly via the Auto-Updater or directly via the download overview.

For older versions you can use the Security Plugin:
https://store.shopware.com/en/swag575294366635f/shopware-security-plugin.html

### References
https://docs.shopware.com/en/shopware-5-en/security-updates/security-update-11-2020

## Which versions are affected by GHSA-28fw-88hq-6jmm?

2 open source packages ship an affected version, including shopware/shopware.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `shopware/shopware` | Packagist | All versions | 5.6.9 |
| `shopware/shopware` | Packagist | All versions | 5.6.9 |

## How do I fix GHSA-28fw-88hq-6jmm?

Upgrade shopware/shopware to 5.6.9 or later.

## Is GHSA-28fw-88hq-6jmm being exploited?

There is no known exploitation of GHSA-28fw-88hq-6jmm in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-28fw-88hq-6jmm and fix it if it is affected.

What it is: GHSA-28fw-88hq-6jmm is a cross-site scripting vulnerability in shopware/shopware, published on 13 Nov 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of GHSA-28fw-88hq-6jmm in the wild and no public exploit code.

Affected packages and fixed versions:
- shopware/shopware (Packagist): affected all versions; fixed in 5.6.9
- shopware/shopware (Packagist): affected all versions; fixed in 5.6.9

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-28fw-88hq-6jmm/ (Markdown: https://insights.sbomify.com/GHSA-28fw-88hq-6jmm/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-28fw-88hq-6jmm

---
From sbomify Insights: https://insights.sbomify.com/GHSA-28fw-88hq-6jmm/
Summaries are generated and may contain mistakes; the official description above is the record.
