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

CVE-2026-33172: Statamic CMS Stored XSS Vulnerability

CVE-2026-33172 is a stored XSS vulnerability in Statamic CMS that allows authenticated users to bypass SVG sanitization and inject malicious JavaScript. This article covers technical details, affected versions, and mitigation.

Published: March 27, 2026

CVE-2026-33172 Overview

CVE-2026-33172 is a stored Cross-Site Scripting (XSS) vulnerability affecting Statamic, a Laravel and Git powered content management system (CMS). The vulnerability exists in the SVG asset reupload functionality, where authenticated users with asset upload permissions can bypass SVG sanitization mechanisms and inject malicious JavaScript code. When a victim views the compromised SVG asset, the injected script executes in their browser context.

Critical Impact

Authenticated attackers can bypass SVG sanitization during asset reuploads to execute arbitrary JavaScript in victim browsers, potentially leading to session hijacking, credential theft, or unauthorized actions on behalf of privileged users.

Affected Products

  • Statamic CMS versions prior to 5.73.14
  • Statamic CMS versions prior to 6.7.0

Discovery Timeline

  • 2026-03-20 - CVE-2026-33172 published to NVD
  • 2026-03-23 - Last updated in NVD database

Technical Details for CVE-2026-33172

Vulnerability Analysis

This stored XSS vulnerability (CWE-79) arises from insufficient sanitization of SVG files during the asset reupload process in Statamic CMS. While initial uploads may be properly sanitized, the reupload mechanism fails to apply the same security controls, creating a bypass opportunity for attackers.

SVG files are XML-based image formats that can contain embedded JavaScript through various vectors including <script> tags, event handlers (such as onload, onerror, onclick), and href attributes with javascript: URIs. When these malicious SVG files are served to users and rendered in their browsers, the embedded scripts execute with the same origin privileges as the Statamic application.

The attack requires authentication with asset upload permissions, which limits the initial attack surface. However, once a malicious SVG is uploaded, any user viewing that asset becomes a potential victim, making this a persistent threat that can impact administrators and other privileged users.

Root Cause

The root cause is a missing or incomplete sanitization check in the SVG reupload code path. While Statamic implements SVG sanitization for initial uploads, the reupload functionality bypasses this security control. This inconsistency in input validation between different upload operations creates a security gap that attackers can exploit to inject malicious content into SVG assets.

Attack Vector

The attack follows a network-based vector requiring authenticated access with asset upload permissions. An attacker crafts a malicious SVG file containing JavaScript payloads embedded within SVG elements or event handlers. The attacker then uses the reupload functionality to replace an existing asset with the malicious SVG, bypassing the sanitization that would normally occur on initial upload.

When an administrator or other user views the asset through the Statamic control panel or front-end, the malicious JavaScript executes in their browser session. This can be leveraged for session hijacking, phishing attacks within the CMS context, or performing unauthorized actions with the victim's privileges.

The vulnerability requires user interaction (viewing the malicious asset), but given that assets are commonly viewed during normal CMS operations, exploitation opportunities are frequent in active deployments.

Detection Methods for CVE-2026-33172

Indicators of Compromise

  • Presence of SVG files containing <script> tags or JavaScript event handlers in asset storage directories
  • Unusual asset reupload activity from accounts with upload permissions
  • Browser console errors or unexpected script execution when viewing SVG assets
  • User reports of unexpected behavior or redirects when accessing the Statamic control panel

Detection Strategies

  • Implement content security policies (CSP) that restrict inline script execution and report violations
  • Deploy web application firewall (WAF) rules to detect SVG files containing script elements or event handlers
  • Monitor asset upload and reupload API endpoints for suspicious patterns or unusually large numbers of requests
  • Review server access logs for repeated access to specific SVG assets from multiple user sessions

Monitoring Recommendations

  • Enable verbose logging for asset management operations in Statamic
  • Set up alerting for SVG uploads that fail CSP validation
  • Monitor for changes to existing SVG assets through file integrity monitoring
  • Track user sessions accessing SVG assets for anomalous behavior patterns

How to Mitigate CVE-2026-33172

Immediate Actions Required

  • Update Statamic CMS to version 5.73.14 or later for the 5.x branch
  • Update Statamic CMS to version 6.7.0 or later for the 6.x branch
  • Audit existing SVG assets for malicious content using SVG scanning tools
  • Review asset upload permissions and restrict to trusted users where possible

Patch Information

Statamic has released security patches addressing this vulnerability. Users should upgrade to version 5.73.14 for the 5.x release branch or version 6.7.0 for the 6.x release branch. The patches ensure that SVG sanitization is applied consistently across all upload operations, including reuploads.

For detailed information about the fix, refer to the GitHub Security Advisory.

Workarounds

  • Temporarily disable SVG upload capabilities through Statamic's asset container configuration
  • Implement server-side SVG sanitization using external tools before files are stored
  • Deploy strict Content Security Policy headers to prevent inline script execution
  • Restrict asset upload permissions to administrators only until patches can be applied
bash
# Configuration example
# Add to .htaccess or nginx config to serve SVGs with restricted headers
# Apache example - force SVGs to download rather than render inline
<FilesMatch "\.svg$">
    Header set Content-Disposition "attachment"
    Header set X-Content-Type-Options "nosniff"
    Header set Content-Security-Policy "script-src 'none'"
</FilesMatch>

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechStatamic

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.01%

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

  • CVE-2026-32612: Statamic CMS Stored XSS Vulnerability

  • CVE-2026-28426: Statamic CMS Stored XSS Vulnerability

  • CVE-2026-41175: Statamic CMS 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