CVE-2026-23499 Details
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';`.
A stored cross-site scripting vulnerability has been identified in Saleor, an e-commerce platform. This issue affects versions 3.0.0 prior to 3.20.108, 3.21.43, and 3.22.27. The vulnerability arises from unrestricted file uploads that allow authenticated staff users or apps to upload arbitrary files, including malicious HTML and SVG files with embedded JavaScript. Depending on the deployment strategy, these files could be served from the same domain as the dashboard, without restrictions, leading to the execution of harmful scripts in the user's browser context. This vulnerability could allow malicious staff to inject scripts that target other staff members, potentially stealing their access and refresh tokens.
Users can upgrade to Saleor versions 3.22.27, 3.21.43, or 3.20.108, where this vulnerability has been patched. For those unable to upgrade, it is recommended to configure the server hosting media files to return the 'Content-Disposition: attachment' header, preventing browsers from rendering the files. Additionally, servers should be set to block HTML and SVG files. Saleor users can run the command './manage.py remove_invalid_files' to scan for and remove any files that may have been uploaded during the vulnerability window.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| saleor saleor | >= 3.0.0, < 3.20.108 >= 3.21.0, < 3.21.43 >= 3.22.0, < 3.22.27 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 29, 2026 | Initial Analysis | [email protected] |
| Jan 21, 2026 | New CVE Received | [email protected] |