Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-23499

Saleor vulnerable to stored XSS via Unrestricted File Upload
Back to all
CVE

CVE-2026-23499

Saleor vulnerable to stored XSS via Unrestricted File Upload

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

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
8.5
-
4.0
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
C
H
U
0
-
C
H
U
-

Related Resources

No items found.

References

https://docs.saleor.io/security/#restricted-file-uploads, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23499.json, https://github.com/saleor/saleor/commit/77f7927a0db9a216440df92c51012136f13e1d99, https://github.com/saleor/saleor/commit/7d33efc7a06252320cd51cbb20c2e308aed2fd10, https://github.com/saleor/saleor/commit/9110eba68c3f73afa1f72b45bd9b1394c752d335, https://github.com/saleor/saleor/commit/ac6936a336289c77398ef600cad3498ad4ba261c, https://github.com/saleor/saleor/commit/b3cb27b3fe96dae3c879063e56d32a9398eabd24, https://github.com/saleor/saleor/security/advisories/GHSA-666h-2p49-pg95, https://nvd.nist.gov/vuln/detail/CVE-2026-23499

Severity

0

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
0
EPSS Probability
0.00039%
EPSS Percentile
0.11535%
Introduced Version
5763cb1ad22b84e29a270b9b0b365f32074b753d,e3dcef96b05bfe121351db25d8da78c541d5e0ed,2e5cdc21b532ba26a39d239f563746b47386f7f4
Fix Available
0e590c8ef86a47443b9d264c8cc0c7b86677232e,91f2d89d17fe6277228549744f93e57529e65056,9a6766632d39fdb44532a7ef4606ccc0119dbc89

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading