# CVE-2026-23499: Saleor vulnerable to stored XSS via Unrestricted File Upload

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

- **Severity:** HIGH 8.5
- **CVSS:** 8.5 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: Passive; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.47% (percentile 33, 2026-11-26)
- **CWE:** CWE-79, CWE-434
- **Published:** 2026-01-21T21:36:19.702Z
- **Modified:** 2026-06-17T10:21:41.937Z

## Who should check

- Anyone running saleor \>= 3.2.0, \< 3.22.27; \>= 3.1.0, \< 3.21.43; \>= 3.0.0, \< 3.20.108

## Description

Saleor is an e-commerce platform. Starting in version 3.0.0 and prior to versions 3.20.108, 3.21.43, and 3.22.27, Saleor allowed authenticated staff users or Apps to upload arbitrary files, including malicious HTML and SVG files containing Javascript. Depending on the deployment strategy, these files may be served from the same domain as the dashboard without any restrictions leading to the execution of malicious scripts in the context of the user's browser. Malicious staff members could craft script injections to target other staff members, possibly stealing their access and/or refresh tokens. Users are vulnerable if they host the media files inside the same domain as the dashboard, e.g., dashboard is at \`example.com/dashboard/\` and media are under \`example.com/media/\`. They are not impact if media files are hosted in a different domain, e.g., \`media.example.com\`. Users are impacted if they do not return a \`Content-Disposition: attachment\` header for the media files. Saleor Cloud users are not impacted. This issue has been patched in versions: 3.22.27, 3.21.43, and 3.20.108. Some workarounds are available for those unable to upgrade. Configure the servers hosting the media files (e.g., CDN or reverse proxy) to return the Content-Disposition: attachment header. This instructs browsers to download the file instead of rendering them in the browser. Prevent the servers from returning HTML and SVG files. Set-up a \`Content-Security-Policy\` for media files, such as \`Content-Security-Policy: default-src 'none'; base-uri 'none'; frame-ancestors 'none'; form-action 'none';\`.

## Affected and fixed versions

- saleor: \>= 3.2.0, \< 3.22.27; \>= 3.1.0, \< 3.21.43; \>= 3.0.0, \< 3.20.108 (cvelist)

## Mitigation

- Upgrade saleor to 3.20.108 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-23499.md
Affected: saleor >= 3.2.0, < 3.22.27; >= 3.1.0, < 3.21.43; >= 3.0.0, < 3.20.108
Fixed in: saleor 3.22.27, saleor 3.21.43, saleor 3.20.108

Steps:
1. Search this machine and project for saleor: 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-2026-23499 being exploited?

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

### How serious is CVE-2026-23499?

High: CVSS 8.5 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-23499?

saleor \>= 3.2.0, \< 3.22.27; \>= 3.1.0, \< 3.21.43; \>= 3.0.0, \< 3.20.108.

### Is there a fix for CVE-2026-23499?

Yes. Fixed in saleor 3.22.27, saleor 3.21.43, saleor 3.20.108. Upgrade saleor to 3.20.108 or later.

### How do I check if I'm affected by CVE-2026-23499?

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/saleor/saleor/security/advisories/GHSA-666h-2p49-pg95>
- patch: <https://github.com/saleor/saleor/commit/77f7927a0db9a216440df92c51012136f13e1d99>
- patch: <https://github.com/saleor/saleor/commit/7d33efc7a06252320cd51cbb20c2e308aed2fd10>
- patch: <https://github.com/saleor/saleor/commit/9110eba68c3f73afa1f72b45bd9b1394c752d335>
- patch: <https://github.com/saleor/saleor/commit/ac6936a336289c77398ef600cad3498ad4ba261c>
- patch: <https://github.com/saleor/saleor/commit/b3cb27b3fe96dae3c879063e56d32a9398eabd24>
- other: <https://docs.saleor.io/security/#restricted-file-uploads>

## 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-2026-23499>

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