Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-23499

CVE-2026-23499: Saleor E-Commerce XSS Vulnerability

CVE-2026-23499 is a cross-site scripting flaw in Saleor e-commerce platform that allows authenticated users to upload malicious files, enabling script execution in staff browsers and token theft.

Published: January 23, 2026

CVE-2026-23499 Overview

CVE-2026-23499 is a high-severity stored Cross-Site Scripting (XSS) vulnerability affecting Saleor, a popular open-source e-commerce platform. The vulnerability allows authenticated staff users or Apps to upload arbitrary files, including malicious HTML and SVG files containing JavaScript code. When these files are served from the same domain as the dashboard without proper security headers, attackers can execute malicious scripts in the context of other users' browsers.

Critical Impact

Malicious staff members can craft script injections targeting other staff members, potentially stealing access tokens and refresh tokens, leading to complete account compromise.

Affected Products

  • Saleor versions 3.0.0 through 3.20.107
  • Saleor versions 3.21.0 through 3.21.42
  • Saleor versions 3.22.0 through 3.22.26

Discovery Timeline

  • 2026-01-21 - CVE CVE-2026-23499 published to NVD
  • 2026-01-21 - Last updated in NVD database

Technical Details for CVE-2026-23499

Vulnerability Analysis

This vulnerability stems from insufficient validation of uploaded file types in Saleor's file upload functionality. The platform allowed authenticated staff users and API applications to upload arbitrary files without proper content-type restrictions. When malicious HTML or SVG files containing embedded JavaScript are uploaded and subsequently served from the same domain as the Saleor dashboard, the browser executes the malicious scripts with full access to the user's session context.

The attack is particularly dangerous in deployment configurations where media files are hosted under the same domain as the dashboard (e.g., example.com/media/ alongside example.com/dashboard/). In such scenarios, the same-origin policy does not protect against the malicious scripts, allowing them to access cookies, session storage, and other sensitive data belonging to the dashboard application.

Root Cause

The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-Site Scripting). Saleor lacked proper file type validation and MIME type enforcement for uploaded files. The platform failed to:

  1. Restrict file uploads to safe MIME types only
  2. Validate actual file content against declared file types
  3. Enforce Content-Disposition: attachment headers for served files
  4. Implement proper Content Security Policy for media files

Attack Vector

The attack requires network access and authentication as a staff user or API application. An attacker would:

  1. Authenticate to the Saleor platform with staff credentials
  2. Upload a malicious SVG or HTML file containing JavaScript payload
  3. Share or embed the link to the uploaded file with target users
  4. When victims access the file, the JavaScript executes in their browser context
  5. The malicious script can steal access tokens, refresh tokens, or perform actions on behalf of the victim

The security patches introduce proper file type validation and MIME type checking:

python
class UploadErrorCode(Enum):
    GRAPHQL_ERROR = "graphql_error"
+    INVALID_FILE_TYPE = "invalid_file_type"
+    UNSUPPORTED_MIME_TYPE = "unsupported_mime_type"


class CoreErrorCode(Enum):

Source: Saleor Commit #77f7927

The view layer was also updated to add proper file handling and logging:

python
+import logging
import os

-from django.http import JsonResponse
+from django.conf import settings
+from django.http import FileResponse, Http404, HttpRequest, HttpResponse, JsonResponse
from django.template.response import TemplateResponse
+from django.views.static import serve

from .jwt_manager import get_jwt_manager

+logger = logging.getLogger(__name__)


def home(request):
    storefront_url = os.environ.get("STOREFRONT_URL", "")

Source: Saleor Commit #7d33efc

Detection Methods for CVE-2026-23499

Indicators of Compromise

  • Unusual file uploads with .svg, .html, or .htm extensions containing script tags or JavaScript event handlers
  • Staff user accounts uploading multiple files with similar naming patterns or suspicious content
  • Access logs showing staff members accessing media URLs that were uploaded by other users
  • Browser console errors or unusual network requests originating from media file URLs

Detection Strategies

  • Monitor file upload endpoints for suspicious file types including SVG, HTML, and XML files containing script elements
  • Implement server-side scanning of uploaded files for embedded JavaScript, event handlers, and malicious content patterns
  • Review web server access logs for patterns indicating exploitation attempts, such as direct access to uploaded media files from dashboard sessions
  • Deploy web application firewall rules to detect and block uploads containing script content in file bodies

Monitoring Recommendations

  • Enable detailed logging for all file upload operations including user identity, file type, and file content hashes
  • Set up alerts for uploads of potentially dangerous file types from staff accounts
  • Monitor for token theft indicators such as unexpected session invalidations or credential changes
  • Implement Content Security Policy violation reporting to detect attempted script execution from media domains

How to Mitigate CVE-2026-23499

Immediate Actions Required

  • Upgrade to patched Saleor versions: 3.22.27, 3.21.43, or 3.20.108 immediately
  • Audit existing uploaded media files for malicious HTML and SVG content
  • Revoke and rotate all staff access tokens and refresh tokens as a precaution
  • Review staff user activity logs for suspicious file upload patterns

Patch Information

Security patches have been released in Saleor versions 3.22.27, 3.21.43, and 3.20.108. The patches introduce new error codes (INVALID_FILE_TYPE and UNSUPPORTED_MIME_TYPE) to properly validate and reject dangerous file uploads. Multiple commits address the vulnerability:

  • Saleor Commit #77f7927
  • Saleor Commit #7d33efc
  • Saleor Commit #9110eba

For complete details, see the GitHub Security Advisory GHSA-666h-2p49-pg95 and Saleor Restricted File Uploads documentation.

Workarounds

  • Configure CDN or reverse proxy to return Content-Disposition: attachment header for all media files, forcing browsers to download rather than render files
  • Host media files on a separate domain (e.g., media.example.com) isolated from the dashboard domain to leverage same-origin policy protection
  • Block HTML and SVG file uploads at the web server or CDN level until patches can be applied
  • Implement a Content Security Policy for media files: Content-Security-Policy: default-src 'none'; base-uri 'none'; frame-ancestors 'none'; form-action 'none';
bash
# Nginx configuration example for Content-Disposition header
location /media/ {
    add_header Content-Disposition "attachment" always;
    add_header Content-Security-Policy "default-src 'none'; base-uri 'none'; frame-ancestors 'none'; form-action 'none';" always;
    add_header X-Content-Type-Options "nosniff" always;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechSaleor

  • SeverityHIGH

  • CVSS Score8.5

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • 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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • Saleor Restricted File Uploads

  • Saleor Commit #77f7927

  • Saleor Commit #7d33efc

  • Saleor Commit #9110eba

  • Saleor Commit #ac6936a

  • Saleor Commit #b3cb27b

  • GitHub Security Advisory GHSA-666h-2p49-pg95
  • Related CVEs
  • CVE-2026-22849: Saleor E-Commerce Platform XSS Vulnerability

  • CVE-2026-33756: Saleor E-Commerce Platform DoS Vulnerability

  • CVE-2026-35407: Saleor Auth Bypass Vulnerability

  • CVE-2026-39851: Saleor Information Disclosure Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English