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

Published Jan 21, 2026
·
Updated

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 Software

4 affected components
npm/saleor>=3.0.0, <3.20.108, <3.21.43, <3.22.27
Saleor Saleor>=3.0.0<3.20.108
Saleor Saleor>=3.21.0<3.21.43
Saleor Saleor>=3.22.0<3.22.27

Event History

Jan 21, 2026
CVE Published
via MITRE·09:36 PM
Data Sourced
via MITRE·09:36 PM
DescriptionWeakness
Data Sourced
via NVD·10:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 20, 58071
Event
via FIRST·02:09 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-23499?

CVE-2026-23499 is considered a high severity vulnerability due to the potential for stored cross-site scripting (XSS) attacks.

2

How do I fix CVE-2026-23499?

To fix CVE-2026-23499, you should upgrade Saleor to versions 3.20.108, 3.21.43, or 3.22.27 or later.

3

Who is affected by CVE-2026-23499?

CVE-2026-23499 affects Saleor users running versions from 3.0.0 up to but not including 3.20.108, 3.21.43, and 3.22.27.

4

What type of vulnerability is CVE-2026-23499?

CVE-2026-23499 is a stored cross-site scripting (XSS) vulnerability that arises from unrestricted file uploads.

5

What can an attacker do with CVE-2026-23499?

An attacker can exploit CVE-2026-23499 to upload malicious files, which may lead to the execution of malicious scripts on the affected platform.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203