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-29177

CVE-2026-29177: Craft Commerce Stored XSS Vulnerability

CVE-2026-29177 is a stored cross-site scripting flaw in Craft Commerce that allows malicious scripts in order details. This post covers the technical details, affected versions, security impact, and mitigation steps.

Published: March 13, 2026

CVE-2026-29177 Overview

Craft Commerce, the ecommerce platform for Craft CMS, contains a Stored Cross-Site Scripting (XSS) vulnerability in the Order details functionality. Prior to versions 4.10.2 and 5.5.3, malicious JavaScript can be injected via the Shipping Method Name, Order Reference, or Site Name fields. When an authenticated user opens the order details slideout via a double-click on the order index page, the injected payload executes in the context of the user's browser session.

Critical Impact

Authenticated attackers can inject persistent malicious scripts that execute when administrators view order details, potentially leading to session hijacking, administrative account compromise, or further attacks against the Craft CMS installation.

Affected Products

  • Craft Commerce versions prior to 4.10.2 (4.x branch)
  • Craft Commerce versions prior to 5.5.3 (5.x branch)
  • craftcms craft_commerce (all unpatched installations)

Discovery Timeline

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

Technical Details for CVE-2026-29177

Vulnerability Analysis

This Stored XSS vulnerability (CWE-79) exists within the Craft Commerce plugin's order management interface. The vulnerability stems from improper input validation and output encoding in the order details slideout panel. When order data containing the Shipping Method Name, Order Reference, or Site Name is rendered in the administrative interface, user-controlled input is not properly sanitized before being included in the HTML response.

The stored nature of this vulnerability means that malicious payloads persist in the database and execute each time an administrator views the affected order details. This creates a particularly dangerous scenario where a single injection can affect multiple administrative users over time.

Root Cause

The root cause is insufficient input sanitization and missing output encoding when rendering order-related fields in the administrative order details slideout. The application fails to properly escape special HTML characters when displaying the Shipping Method Name, Order Reference, and Site Name fields, allowing script tags and event handlers to be interpreted as executable code rather than plain text.

Attack Vector

The attack requires network access and low-privilege authentication to the Craft Commerce system. An attacker with the ability to modify order data (such as through a compromised account or during order creation) can inject malicious JavaScript code into vulnerable fields. The payload remains dormant until an administrator double-clicks an order on the index page to view its details, at which point the slideout panel renders the malicious content and executes the injected script.

The exploitation flow involves:

  1. An attacker injects malicious JavaScript into a Shipping Method Name, Order Reference, or Site Name field
  2. The payload is stored in the application database
  3. An administrator navigates to the order index page
  4. Upon double-clicking an order to view details, the slideout panel renders the stored payload
  5. The malicious script executes in the administrator's browser context

Detection Methods for CVE-2026-29177

Indicators of Compromise

  • Unexpected JavaScript code or HTML tags in order-related database fields (Shipping Method Name, Order Reference, Site Name)
  • Unusual script execution errors in browser console logs when viewing order details
  • Reports of unexpected behavior or redirects when administrators access order management interfaces
  • Audit log entries showing modifications to order fields with suspicious content patterns

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect XSS patterns in order-related API requests
  • Review database records for order fields containing script tags, event handlers (onclick, onerror, etc.), or JavaScript URIs
  • Monitor server logs for POST requests to order endpoints containing encoded script payloads
  • Deploy Content Security Policy (CSP) headers and monitor for CSP violation reports

Monitoring Recommendations

  • Enable detailed logging for all order creation and modification operations
  • Configure browser-based XSS auditing and CSP reporting endpoints
  • Implement automated scanning of stored order data for common XSS patterns
  • Monitor for unusual administrative session activity following order detail views

How to Mitigate CVE-2026-29177

Immediate Actions Required

  • Upgrade Craft Commerce to version 4.10.2 or later (for 4.x installations)
  • Upgrade Craft Commerce to version 5.5.3 or later (for 5.x installations)
  • Audit existing order data for potentially malicious content in Shipping Method Name, Order Reference, and Site Name fields
  • Review administrative session logs for signs of compromise

Patch Information

The vulnerability has been fixed in Craft Commerce versions 4.10.2 and 5.5.3. The patch implements proper output encoding for the affected fields when rendered in the order details slideout. Organizations should update to these versions immediately.

For detailed patch information, refer to the GitHub Commit Changes and the GitHub Security Advisory.

Workarounds

  • Implement strict Content Security Policy (CSP) headers that disable inline script execution
  • Restrict access to order management interfaces to trusted administrators only
  • Manually sanitize suspicious order data in the database pending patch deployment
  • Consider temporarily disabling the order details slideout functionality if patching is not immediately possible
bash
# Configuration example
# Add to your web server configuration to implement CSP headers
# Apache (.htaccess or httpd.conf)
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'"

# Nginx
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'";

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechCraftcms

  • SeverityLOW

  • CVSS Score1.9

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/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
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Vendor Resources
  • GitHub Commit Changes

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-31859: Craft CMS Reflected XSS Vulnerability

  • CVE-2026-29175: Craftcms Craft Commerce XSS Vulnerability

  • CVE-2026-29173: Craft Commerce Stored XSS Vulnerability

  • CVE-2026-29176: Craft Commerce Stored XSS 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