A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-26188

CVE-2026-26188: Craft CMS Freeform Plugin XSS Vulnerability

CVE-2026-26188 is a stored XSS vulnerability in Solspace Freeform plugin for Craft CMS 5.x that allows low-privilege users to inject malicious code into the Control Panel. This article covers technical details, affected versions, impact, and mitigation.

Published: February 13, 2026

CVE-2026-26188 Overview

A stored Cross-Site Scripting (XSS) vulnerability exists in the Solspace Freeform plugin for Craft CMS 5.x. The plugin, which provides flexible form-building capabilities, fails to properly sanitize user-controlled form labels and integration metadata before rendering them in the Craft Control Panel (CP). Specifically, these values are rendered using dangerouslySetInnerHTML without sanitization, allowing an authenticated user with low privileges (able to create/edit forms) to inject arbitrary HTML and JavaScript code that executes when any administrator views the builder or integration screens.

Critical Impact

Authenticated attackers with form creation privileges can inject malicious scripts that execute in the context of administrator sessions, potentially leading to session hijacking, privilege escalation, or further compromise of the Craft CMS installation.

Affected Products

  • Solspace Freeform plugin for Craft CMS 5.x versions prior to 5.14.7
  • Craft CMS installations using vulnerable Freeform plugin versions

Discovery Timeline

  • 2026-02-12 - CVE CVE-2026-26188 published to NVD
  • 2026-02-12 - Last updated in NVD database

Technical Details for CVE-2026-26188

Vulnerability Analysis

This stored XSS vulnerability (CWE-79) stems from improper handling of user-supplied input in the Freeform plugin's React-based frontend components. The vulnerability allows authenticated users with form creation or editing privileges to inject malicious payloads that persist in the database and execute whenever an administrator accesses the affected Control Panel views.

The attack surface is particularly concerning because it targets administrative interfaces, meaning successful exploitation could compromise high-privilege accounts. When an admin navigates to the form builder or integrations screens, the injected JavaScript executes within their authenticated session context.

Root Cause

The root cause is the unsafe use of React's dangerouslySetInnerHTML property without proper input sanitization. Form labels and integration metadata values submitted by users are stored directly in the database and subsequently rendered as raw HTML in the Control Panel interface. This bypasses React's built-in XSS protections that normally escape dynamic content.

Attack Vector

The attack is network-based and requires authentication with minimal privileges—specifically, the ability to create or edit forms within the Freeform plugin. An attacker crafts a malicious form label or integration metadata field containing JavaScript payloads. When saved, the payload persists in the application database. Subsequently, when any administrator views the form builder or integration configuration screens, the stored payload executes in their browser session.

The following patch demonstrates the fix implemented by adding DOMPurify sanitization to the dropdown options component:

text
 import React, { useEffect, useRef } from 'react';
 import classes from '@ff-client/utils/classes';
+import { sanitize } from 'dompurify';
 
 import CheckIcon from './check.svg';
 import type { DropdownProps } from './dropdown';

Source: GitHub Commit Update

The version bump in the security patch:

text
 {
   "name": "solspace/craft-freeform",
   "description": "The most flexible and user-friendly form building plugin!",
-  "version": "5.14.6",
+  "version": "5.14.6.1",
   "type": "craft-plugin",
   "authors": [
     {

Source: GitHub Commit Update

Detection Methods for CVE-2026-26188

Indicators of Compromise

  • Unusual form labels or integration metadata containing HTML tags such as <script>, <img>, <svg>, or event handlers like onerror, onload
  • Unexpected JavaScript execution or browser console errors when loading Freeform builder or integration pages
  • Audit log entries showing form modifications by users who should not have administrator-level access patterns

Detection Strategies

  • Review Freeform form configurations for suspicious HTML or JavaScript content in label fields and integration metadata
  • Implement Content Security Policy (CSP) headers to detect and block inline script execution attempts
  • Monitor browser console output for unexpected script errors or XSS payload signatures when accessing the Control Panel

Monitoring Recommendations

  • Enable comprehensive audit logging for all Freeform plugin form creation and modification activities
  • Configure web application firewall (WAF) rules to detect XSS payload patterns in form submissions
  • Regularly audit user permissions to ensure form creation privileges are restricted to trusted accounts only

How to Mitigate CVE-2026-26188

Immediate Actions Required

  • Update Solspace Freeform plugin to version 5.14.7 or later immediately
  • Audit existing forms for any potentially malicious content in labels and integration metadata fields
  • Review user accounts with form creation privileges and remove access for untrusted users
  • Consider temporarily restricting form editing capabilities until the patch is applied

Patch Information

Solspace has released version 5.14.7 of the Freeform plugin which addresses this vulnerability by implementing DOMPurify sanitization for user-controlled content rendered with dangerouslySetInnerHTML. The fix is tracked under issue SFT-2567 and resolves all related code scanning alerts. The patch is available via the GitHub Release v5.14.7. Additional technical details are available in the GitHub Security Advisory GHSA-jp3q-wwp3-pwv9.

Workarounds

  • Restrict form creation and editing privileges to only trusted administrator accounts until the patch can be applied
  • Implement strict Content Security Policy headers to mitigate XSS impact (though this does not prevent the vulnerability)
  • Manually sanitize existing form labels and integration metadata by reviewing and removing any HTML content
bash
# Update Freeform plugin via Composer
composer require solspace/craft-freeform:^5.14.7
php craft migrate/all
php craft project-config/apply

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechCraft Cms

  • SeverityMEDIUM

  • CVSS Score5.1

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/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
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Commit Update

  • GitHub Release v5.14.7

  • GitHub Security Advisory GHSA-jp3q-wwp3-pwv9
  • Related CVEs
  • CVE-2026-25497: Craft CMS GraphQL Privilege Escalation

  • CVE-2026-25498: Craft CMS RCE Vulnerability

  • CVE-2026-25492: Craft CMS Information Disclosure Flaw

  • CVE-2024-56145: Craft CMS Remote Code Execution Vulnerability
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
  • English
  • 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