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-2023-45818

CVE-2023-45818: Tiny TinyMCE mXSS Vulnerability

CVE-2023-45818 is a mutation cross-site scripting flaw in TinyMCE affecting undo and redo functions. Malicious HTML snippets can bypass sanitization and execute XSS payloads. This article covers technical details, affected versions, impact, and mitigation steps.

Published: February 11, 2026

CVE-2023-45818 Overview

CVE-2023-45818 is a mutation cross-site scripting (mXSS) vulnerability discovered in TinyMCE, a widely-used open source rich text editor. The vulnerability exists within TinyMCE's core undo and redo functionality, where carefully-crafted HTML snippets can bypass XSS sanitization layers. When malicious HTML passes through the sanitization process and is subsequently manipulated by internal string trimming functions before being stored in the undo stack, the combination of string manipulation and reparative parsing by the browser's native DOMParser API (TinyMCE 6) or the SaxParser API (TinyMCE 5) can mutate the HTML in a way that allows XSS payloads to execute.

Critical Impact

Attackers can execute arbitrary JavaScript in the context of users interacting with TinyMCE editors, potentially leading to session hijacking, data theft, or unauthorized actions on behalf of authenticated users.

Affected Products

  • TinyMCE versions prior to 5.10.8
  • TinyMCE versions 6.x prior to 6.7.1
  • Applications and CMS platforms integrating vulnerable TinyMCE versions

Discovery Timeline

  • 2023-10-19 - CVE-2023-45818 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-45818

Vulnerability Analysis

This vulnerability represents a sophisticated mutation XSS (mXSS) attack vector that exploits the interplay between HTML sanitization and subsequent DOM parsing. Unlike traditional XSS vulnerabilities where malicious scripts directly bypass input filters, mXSS attacks leverage the browser's own parsing behavior to transform seemingly safe HTML into malicious content after sanitization has occurred.

The vulnerability manifests specifically in TinyMCE's undo/redo functionality. When a user triggers an undo operation, the stored HTML content is retrieved from the undo stack and re-parsed by the DOM parser. During this re-parsing phase, the parser's normalization and error-correction mechanisms can reconstruct the HTML in an unintended way, reactivating script content that was previously neutralized.

The attack requires user interaction (triggering undo/redo operations), but given that these are common text editing operations, exploitation is highly practical in real-world scenarios.

Root Cause

The root cause of CVE-2023-45818 lies in the architectural decision to use string-level manipulation for trimming HTML content before storing it in the undo stack. When HTML is manipulated as a string rather than as a DOM tree, the relationship between elements can be disrupted in ways that the subsequent DOM parser interprets differently than expected.

Specifically, the internal trimming functions in TinyMCE processed HTML at the string level, which could inadvertently alter the structure of carefully-crafted payloads. When this modified string is later parsed by either the browser's native DOMParser API (in TinyMCE 6) or TinyMCE's SaxParser API (in TinyMCE 5), the parser's error recovery mechanisms can reassemble the fragments in a way that creates executable script contexts.

Attack Vector

The attack vector for this vulnerability is network-based, requiring an attacker to deliver malicious HTML content to a TinyMCE editor instance. This can occur through various channels:

  1. User-supplied content: An attacker pastes crafted HTML into the editor
  2. Stored content: Malicious HTML is loaded from a backend system into the editor
  3. Cross-document messaging: Content is inserted via postMessage or similar APIs

The attack flow proceeds as follows: The malicious HTML snippet is constructed to appear benign after initial XSS sanitization but contains structural elements that, when subjected to string trimming and subsequent DOM re-parsing during undo/redo operations, mutate into executable JavaScript. The user only needs to perform a normal undo or redo action to trigger payload execution.

For technical details on the mXSS technique, refer to the ResearchGate publication on mXSS attacks.

Detection Methods for CVE-2023-45818

Indicators of Compromise

  • Unusual JavaScript execution events originating from TinyMCE editor instances
  • Unexpected DOM mutations within editor content areas following undo/redo operations
  • Client-side error logs showing script execution attempts from editor components
  • User reports of unexpected behavior after performing undo operations in rich text editors

Detection Strategies

  • Implement Content Security Policy (CSP) headers to restrict inline script execution and report violations
  • Monitor browser console logs for XSS-related security violations from TinyMCE components
  • Deploy web application firewalls (WAF) with rules to detect mXSS payload patterns in rich text editor input
  • Conduct regular software composition analysis (SCA) scans to identify vulnerable TinyMCE versions in your application dependencies

Monitoring Recommendations

  • Enable CSP reporting endpoints to capture attempted script injections within editor contexts
  • Implement client-side telemetry to track unexpected script execution events in TinyMCE instances
  • Review application logs for patterns indicating XSS attack attempts targeting rich text editors
  • Set up dependency vulnerability monitoring to receive alerts when using affected TinyMCE versions

How to Mitigate CVE-2023-45818

Immediate Actions Required

  • Upgrade TinyMCE 5.x installations to version 5.10.8 or later immediately
  • Upgrade TinyMCE 6.x installations to version 6.7.1 or later immediately
  • Conduct an inventory of all applications using TinyMCE to identify vulnerable instances
  • Implement Content Security Policy headers as a defense-in-depth measure while upgrades are pending

Patch Information

TinyMCE has released patched versions that address this vulnerability by ensuring HTML is trimmed using node-level manipulation instead of string manipulation. This architectural change prevents the DOM parser from reinterpreting the structure of sanitized content in unintended ways.

Patched Versions:

  • TinyMCE 5.10.8 - See TinyMCE 5.10.8 Release Notes
  • TinyMCE 6.7.1 - See TinyMCE 6.7.1 Release Notes

For complete vulnerability details, review the GitHub Security Advisory GHSA-v65r-p3vv-jjfv.

Workarounds

  • There are no known workarounds for this vulnerability according to the vendor advisory
  • Upgrading to the patched versions is the only recommended remediation
  • As a temporary defense-in-depth measure, implement strict Content Security Policy headers to limit the impact of potential XSS exploitation
  • Consider disabling or restricting access to TinyMCE functionality for untrusted users until patches can be applied
bash
# Example: Update TinyMCE via npm to patched version
npm update tinymce@6.7.1

# Verify installed version
npm list tinymce

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechTiny Tinymce

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability1.28%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • ResearchGate Publication on mXSS

  • TinyMCE Release Notes 5.10.8

  • TinyMCE Release Notes 6.7.1

  • TinyMCE API Documentation
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2024-29881: Tiny TinyMCE XSS Vulnerability

  • CVE-2020-12648: Tiny Tinymce 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