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

- Severity: High 8.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-01-21T21:36:19.702Z
- Modified: 2026-06-17T10:21:41.937Z
- Weaknesses: CWE-79, CWE-434
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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';`.

(As written by CVE List.)

## Affected

- saleor saleor: >= 3.2.0, < 3.22.27; >= 3.1.0, < 3.21.43; >= 3.0.0, < 3.20.108; from 3.0.0 before 3.20.108; from 3.21.0 before 3.21.43; from 3.22.0 before 3.22.27

## Every score

- GitHub_M: CVSS:4.0 8.5 High `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`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/saleor/saleor/security/advisories/GHSA-666h-2p49-pg95> (vendor-advisory)
- <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> (patch)
- <https://docs.saleor.io/security/#restricted-file-uploads> (product)

## Sources

- CVE List: [CVE-2026-23499](https://www.cve.org/CVERecord?id=CVE-2026-23499), CVE Terms of Use, modified 2026-01-22
- NVD: [CVE-2026-23499](https://nvd.nist.gov/vuln/detail/CVE-2026-23499), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-23499 · Whole record: https://cve.day/CVE-2026-23499.json · Rebuilt by cve.day 2026-11-25T22:59:13.025Z
