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

CVE-2026-27196: Statamic CMS Stored XSS Vulnerability

CVE-2026-27196 is a stored XSS vulnerability in Statamic CMS that allows authenticated users to inject malicious JavaScript in html fieldtypes. This post explains its impact, affected versions, and mitigation steps.

Published: February 27, 2026

CVE-2026-27196 Overview

CVE-2026-27196 is a Stored Cross-Site Scripting (XSS) vulnerability affecting Statamic, a Laravel and Git powered content management system (CMS). The vulnerability exists in the HTML fieldtypes component, which allows authenticated users with field management permissions to inject malicious JavaScript code. When this injected content is viewed by higher-privileged users, the malicious script executes in their browser context, potentially leading to privilege escalation, session hijacking, or unauthorized administrative actions.

Critical Impact

Authenticated attackers with field management permissions can inject persistent malicious JavaScript that executes in the context of higher-privileged administrative users, enabling privilege escalation and potential full CMS compromise.

Affected Products

  • Statamic CMS versions 5.73.8 and below
  • Statamic CMS versions 6.0.0-alpha.1 through 6.3.1

Discovery Timeline

  • 2026-02-21 - CVE-2026-27196 published to NVD
  • 2026-02-23 - Last updated in NVD database

Technical Details for CVE-2026-27196

Vulnerability Analysis

This Stored XSS vulnerability (CWE-79) resides in the HTML fieldtype component of Statamic CMS. The underlying issue stems from the direct rendering of user-controlled HTML content without proper sanitization. In the vulnerable implementation, the Vue.js component responsible for rendering HTML fieldtypes used v-html directive to directly output configuration HTML without any filtering or encoding.

The exploitation scenario requires an authenticated attacker with field management permissions—a lower-privilege role that still has access to modify field configurations. By injecting malicious JavaScript into an HTML fieldtype configuration, the attacker can create a stored payload that persists in the CMS. When administrative users access the publish form containing the malicious field, the injected script executes with their session privileges.

This attack pattern is particularly dangerous in multi-user CMS environments where privilege separation is expected between content editors and administrators. The attacker can potentially steal administrative session tokens, perform unauthorized configuration changes, or create additional privileged accounts.

Root Cause

The root cause of this vulnerability is the absence of HTML sanitization in the HtmlFieldtype.vue component. The original implementation directly bound user-controlled configuration data to the DOM using Vue's v-html directive without any filtering:

text
<div v-html="config.html" />

This allowed any HTML content, including <script> tags and event handlers, to be rendered and executed in the browser context of users viewing the field.

Attack Vector

The attack is network-based and requires the attacker to have authenticated access with field management permissions. The attacker creates or modifies an HTML fieldtype, injecting malicious JavaScript into the HTML configuration. When a higher-privileged user (such as an administrator) views a publish form containing this field, the malicious script executes automatically.

The following patch demonstrates how the vulnerability was addressed in version 6.x by implementing DOMPurify sanitization:

text
-<template>
-    <div v-html="config.html" />
-</template>
+<script setup>
+import Fieldtype from '@/components/fieldtypes/fieldtype';
+import { computed } from 'vue';
+import DOMPurify from 'dompurify';
 
-<script>
-import Fieldtype from './Fieldtype.vue';
+const props = defineProps(Fieldtype.props);
 
-export default {
-    mixins: [Fieldtype],
-};
+const html = computed(() => props.config.sanitize ? DOMPurify.sanitize(props.config.html) : props.config.html);
 </script>
+
+<template>
+    <div v-html="html" />
+</template>

Source: GitHub Commit

The 5.x branch received a similar fix with mandatory sanitization:

text
 <template>
-    <div v-html="config.html" />
+    <div v-html="html" />
 </template>
 
 <script>
+import DOMPurify from 'dompurify';
+
 export default {
-    mixins: [Fieldtype]
+    mixins: [Fieldtype],
+    computed: {
+        html() {
+            return DOMPurify.sanitize(this.config.html);
+        }
+    }
 };
 </script>

Source: GitHub Commit

Detection Methods for CVE-2026-27196

Indicators of Compromise

  • Suspicious JavaScript code in HTML fieldtype configurations, particularly containing event handlers like onerror, onload, or onclick
  • Unexpected <script> tags or <iframe> elements in field configuration data
  • Audit logs showing field configuration changes by users with limited permissions
  • Browser console errors or network requests to external domains when viewing publish forms

Detection Strategies

  • Implement content security policy (CSP) headers to detect and block inline script execution
  • Enable Statamic's audit logging to monitor field configuration changes
  • Deploy web application firewalls (WAF) with XSS detection rulesets
  • Conduct regular code reviews of HTML fieldtype configurations for suspicious content

Monitoring Recommendations

  • Monitor for unusual administrative actions following field configuration viewing events
  • Track session anomalies that may indicate session token theft
  • Alert on new administrator accounts or permission changes
  • Review network traffic for unexpected data exfiltration to external endpoints

How to Mitigate CVE-2026-27196

Immediate Actions Required

  • Upgrade Statamic CMS to version 6.3.2 or 5.73.9 immediately
  • Audit all existing HTML fieldtype configurations for malicious content
  • Review recent field configuration changes in the audit log
  • Rotate administrative session tokens as a precaution
  • Restrict field management permissions to only trusted users

Patch Information

The vulnerability has been fixed in Statamic CMS versions 6.3.2 and 5.73.9. The patches implement DOMPurify sanitization for all HTML content rendered in HTML fieldtypes. Organizations should upgrade to these versions immediately.

For version 6.x, a new configuration option sanitize was added to allow administrators to explicitly disable sanitization if required, though this is not recommended. Version 5.x applies sanitization unconditionally. Detailed patch information is available in the GitHub Security Advisory.

Workarounds

  • Temporarily disable or remove HTML fieldtypes from all blueprints until patching is complete
  • Restrict field management permissions to only highly trusted administrators
  • Implement a strict Content Security Policy (CSP) that blocks inline script execution
  • Use a web application firewall to filter potential XSS payloads in form submissions
bash
# Composer command to update Statamic CMS
composer update statamic/cms

# Verify installed version
composer show statamic/cms | 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/TechStatmatic

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Commit Update

  • GitHub Commit Fix

  • GitHub Security Advisory GHSA-8r7r-f4gm-wcpq
  • Related CVEs
  • CVE-2026-25759: Statamic CMS Stored XSS Vulnerability

  • CVE-2026-27939: Statamic CMS Privilege Escalation Flaw
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