The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-31823

CVE-2026-31823: Sylius eCommerce Framework XSS Vulnerability

CVE-2026-31823 is a stored XSS vulnerability in Sylius eCommerce Framework allowing authenticated admins to inject malicious scripts via entity names. This post covers technical details, affected versions, and mitigation steps.

Published: March 13, 2026

CVE-2026-31823 Overview

CVE-2026-31823 is a stored Cross-Site Scripting (XSS) vulnerability affecting multiple components of the Sylius eCommerce Framework built on Symfony. The vulnerability exists due to unsanitized entity names being rendered as raw HTML across the shop frontend and admin panel. An authenticated administrator can inject arbitrary HTML or JavaScript via entity names (such as taxon names) that is persistently rendered for all users, potentially leading to session hijacking, credential theft, or unauthorized actions on behalf of victims.

Critical Impact

Authenticated administrators can inject persistent malicious scripts via entity names that execute in the browsers of all users viewing the affected pages, including other administrators and customers on the storefront.

Affected Products

  • Sylius versions prior to 1.9.12
  • Sylius versions 1.10.x prior to 1.10.16
  • Sylius versions 1.11.x prior to 1.11.17
  • Sylius versions 1.12.x prior to 1.12.23
  • Sylius versions 1.13.x prior to 1.13.15
  • Sylius versions 1.14.x prior to 1.14.18
  • Sylius versions 2.0.x prior to 2.0.16
  • Sylius versions 2.1.x prior to 2.1.12
  • Sylius versions 2.2.x prior to 2.2.3

Discovery Timeline

  • 2026-03-10 - CVE-2026-31823 published to NVD
  • 2026-03-11 - Last updated in NVD database

Technical Details for CVE-2026-31823

Vulnerability Analysis

This stored XSS vulnerability (CWE-79) stems from improper output encoding across multiple components in the Sylius eCommerce platform. The vulnerability affects three distinct areas of the application, each with its own injection point but sharing the common root cause of rendering user-controlled entity names without proper HTML escaping.

The first affected component is the shop breadcrumbs template (shared/breadcrumbs.html.twig), where the breadcrumbs macro applies the Twig |raw filter to label values. Since taxon names, product names, and ancestor names flow directly into these labels, any malicious HTML or JavaScript embedded in these entity names is rendered and executed on the storefront.

The second affected component is the Admin product taxon picker (ProductTaxonTreeController.js), where the rowRenderer method interpolates the ${name} variable directly into a template literal that builds HTML content. This allows script injection through taxon names when administrators interact with the product categorization interface.

The third affected component involves Admin autocomplete fields using Tom Select, where dropdown items and options render entity names as raw HTML without proper escaping. This enables XSS through any autocomplete field that displays entity names throughout the admin panel.

Root Cause

The root cause of this vulnerability is the improper use of the Twig |raw filter and direct HTML string interpolation without escaping user-controlled entity name values. In Twig templates, the |raw filter explicitly disables the auto-escaping feature, allowing HTML and JavaScript to be rendered directly in the browser. Similarly, in the JavaScript components, entity names are concatenated or interpolated directly into HTML strings without encoding special characters, bypassing any client-side protection against script injection.

Attack Vector

The attack requires network access and authentication with administrative privileges. An attacker with administrator access can create or modify entities (such as taxons or products) with malicious names containing JavaScript payloads. These payloads are then stored in the database and rendered whenever any user—including other administrators or storefront customers—views pages that display the affected entity names.

A malicious taxon name such as <img src=x onerror=alert('XSS')> would be stored in the database and executed as JavaScript whenever the breadcrumbs, taxon picker, or autocomplete fields render that entity name. The scope change in the CVSS vector indicates that the vulnerability impacts users beyond the authenticated session of the attacker, affecting all visitors who view the compromised content.

Detection Methods for CVE-2026-31823

Indicators of Compromise

  • Entity names (taxons, products, categories) containing HTML tags such as <script>, <img>, <svg>, or event handlers like onerror, onload, onclick
  • Database entries with unexpected JavaScript code or HTML markup in name fields
  • Unusual administrator activity creating or modifying entities with special characters or encoded payloads

Detection Strategies

  • Implement Content Security Policy (CSP) headers with violation reporting to detect inline script execution attempts
  • Monitor application logs for entity creation/modification events containing HTML special characters or script-related keywords
  • Deploy Web Application Firewall (WAF) rules to detect and log XSS payloads in POST request bodies to entity management endpoints
  • Conduct periodic database audits scanning entity name fields for HTML tags and JavaScript code patterns

Monitoring Recommendations

  • Enable detailed audit logging for all entity CRUD operations in the Sylius admin panel
  • Configure browser-based XSS detection alerts through CSP report-uri directives
  • Monitor for unusual patterns in administrator account activity, particularly bulk entity modifications
  • Implement real-time alerting for database records containing <script> tags or JavaScript event handlers in name fields

How to Mitigate CVE-2026-31823

Immediate Actions Required

  • Upgrade Sylius to the patched version corresponding to your release branch immediately
  • Audit existing entity names (taxons, products, categories) in the database for malicious HTML or JavaScript content
  • Review administrator account access and privileges, revoking access for any compromised or suspicious accounts
  • Implement a Web Application Firewall with XSS filtering rules as an additional defense layer

Patch Information

Sylius has released security patches addressing this vulnerability. Organizations should upgrade to one of the following fixed versions based on their current release branch:

  • Version 1.9.12 or later for the 1.9.x branch
  • Version 1.10.16 or later for the 1.10.x branch
  • Version 1.11.17 or later for the 1.11.x branch
  • Version 1.12.23 or later for the 1.12.x branch
  • Version 1.13.15 or later for the 1.13.x branch
  • Version 1.14.18 or later for the 1.14.x branch
  • Version 2.0.16 or later for the 2.0.x branch
  • Version 2.1.12 or later for the 2.1.x branch
  • Version 2.2.3 or later for the 2.2.x branch

For complete details on the security fix, refer to the Sylius GitHub Security Advisory.

Workarounds

  • If immediate patching is not possible, implement input validation on the server-side to strip or reject entity names containing HTML tags or JavaScript
  • Manually modify affected Twig templates to replace |raw filter usage with proper escaping using |e('html') or removing the raw filter entirely
  • Deploy a reverse proxy or WAF with strict XSS filtering rules to sanitize malicious payloads before they reach the application
  • Restrict administrator privileges to limit which users can create or modify entity names in the system
bash
# Update Sylius using Composer to the latest patched version
composer update sylius/sylius --with-all-dependencies

# Verify the installed version after update
composer show sylius/sylius | grep versions

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechSylius

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-31822: Sylius eCommerce Framework XSS Vulnerability

  • CVE-2026-31819: Sylius eCommerce Framework CSRF Vulnerability

  • CVE-2026-31820: Sylius Information Disclosure Vulnerability

  • CVE-2026-31821: Sylius eCommerce Auth Bypass 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