CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2024-29203

CVE-2024-29203: Client-Side Cross-Site Scripting via Unsandboxed Iframes and Legacy Embed Elements in TinyMCE

Amit Schendel
Amit Schendel
Senior Security Researcher

Jun 9, 2026·5 min read·4 visits

Executive Summary (TL;DR)

TinyMCE versions prior to 6.8.1 failed to sandbox pasted/inserted iframes or convert risky object and embed tags, allowing attackers to execute arbitrary scripts in the application context via client-side payloads.

CVE-2024-29203 identifies a cross-site scripting (XSS) vulnerability in the content ingestion and parsing mechanics of TinyMCE rich text editor. Due to a failure to enforce sandbox attributes on dynamic iframe elements and safely handle legacy embed objects, unauthenticated attackers can inject malicious elements that execute scripts within the context of the parent application session.

Vulnerability Overview

TinyMCE is an open-source, web-based rich text editor widely integrated into content management systems, email clients, and collaboration platforms. To allow users to draft formatted text, media, and other embedded visual objects, the editor processes complex HTML documents through an internal parsing subsystem. This ingestion layer relies on a DOM parser to filter input markup, ensuring it conforms to configured schema specifications and security constraints.\n\nThe primary attack surface resides within elements that permit content embedding, specifically <iframe>, <object>, and <embed> nodes. Historically, these tags were accepted as long as they met the standard dimension and structure constraints defined in the schema. This design did not restrict nested capabilities or isolate the embedded frames from the execution scope of the primary application.\n\nUnder default configurations in versions prior to 6.8.1, the editor did not apply restrictive isolation attributes such as sandbox to <iframe> elements. This programmatic gap allowed attackers to introduce scripting elements that could execute within the DOM tree of the parent web application, compromising client-side security controls.

Root Cause Analysis

The core of the vulnerability lies in the parser's passive processing of embedded document nodes. When TinyMCE parses imported markup (via paste actions or programmatically through APIs like setContent()), the DomParser validates elements against an allowed-list schema. If the schema permitted iframes, the parser constructed the DOM node without inspecting or rewriting its security-sensitive attributes.\n\nUnsandboxed iframes represent a severe risk in browser environments. If an iframe points to an external source or defines inline script using schemes like javascript: or data:text/html, the browser executes the script in the origin context of the parent frame unless restricted. This allows direct programmatic read-and-write access to cookie jars, session tokens, and document structures of the host application.\n\nFurthermore, the parser accepted legacy <object> and <embed> tags. These legacy elements were designed to launch binary browser extensions (including Java, Adobe Flash, and various PDF viewers). In modern browsers, these elements can execute complex interactions or force the browser to process parameter arrays that trigger unauthorized behaviors, bypassing standard script restrictions.\n\nThe failure to automatically sanitize these elements or transform them into safe alternatives meant that malicious actors could manipulate the active editor environment. Because these settings defaulted to unmitigated states in all versions of TinyMCE 6.x, users hosting default instances were left exposed.

Code Implementation & Patch Analysis

The patch with commit ID bcdea2ad14e3c2cea40743fb48c63bba067ae6d1 mitigates these risks by adding configuration-controlled filters. These filters are defined within the ParserFilters.ts and Options.ts modules. Two core configurations were introduced: sandbox_iframes and convert_unsafe_embeds.\n\nThe options registration assigns a boolean validation processor to both configurations, ensuring that administrators can explicitly manage parsing policies. In version 6.8.1, these default to false for backwards compatibility. In version 7.0.0, the default for sandbox_iframes was updated to true to ensure out-of-the-box protection.\n\nThe core processing logic added to ParserFilters.ts utilizes the addNodeFilter API. When parsing runs, nodes matching object or embed are captured and routed through a transformation filter. This filter converts the legacy tags into safe semantic counterparts (<img>, <video>, <audio>), or sandboxed <iframe> tags if the MIME type cannot be matched safely:\n\ntypescript\n// Pre-patch: Object and embed tags parsed directly without validation or type conversion\n// Post-patch: Nodes are dynamically transformed into safe HTML counterparts\nif (settings.convert_unsafe_embeds) {\n parser.addNodeFilter('object,embed', (nodes) => Arr.each(nodes, (node) => {\n node.replace(\n createSafeEmbed(\n node.attr('type'),\n node.name === 'object' ? node.attr('data') : node.attr('src'),\n node.attr('width'),\n node.attr('height'),\n settings.sandbox_iframes\n ));\n }));\n}\n\n\nSimilarly, if sandbox_iframes is enabled, any iframe node is parsed, and the parser forcibly appends the sandbox="" attribute. This is done via:\n\ntypescript\nif (settings.sandbox_iframes) {\n parser.addNodeFilter('iframe', (nodes) => Arr.each(nodes, (node) => node.attr('sandbox', '')));\n}\n\n\nThe integration of the sandbox="" attribute restricts the frame's execution contexts. Even if the source points to a script or a data URI, the browser blocks form submissions, script execution, popups, and forces a unique origin constraint. This successfully stops execution of client-side payloads.

Exploitation Mechanics & Attack Vectors

To execute this attack, a malicious actor must deliver a payload into the editor interface. This is typically achieved via clipboard paste operations or through data sources processed by the host application. A targeted user needs to interact with the editor, such as viewing a document that renders the input content.\n\nConsider a scenario where the application accepts markdown or pasted HTML. An attacker can construct a payload containing a script within an iframe:\n\nhtml\n<iframe src="javascript:alert(parent.document.cookie)"></iframe>\n\n\nOr they can utilize a data URI scheme inside an iframe, which runs active script content:\n\nhtml\n<iframe src="data:text/html,<script>alert(1)</script>"></iframe>\n\n\nAdditionally, legacy <object> and <embed> tags can be targeted to bypass basic string-filtering web application firewalls (WAFs):\n\nhtml\n<object data="javascript:alert(document.domain)"></object>\n\n\nWhen pasted, the browser or the editor's copy-paste handler processes the clipboard content. TinyMCE's parser parses the tags and appends them to the active editor workspace. Because the sandbox and conversion controls are absent, the browser processes the new elements and evaluates the JavaScript, executing the payload in the context of the user's active session.

Remediation & Defensive Configuration

The most effective resolution is upgrading the TinyMCE library to at least version 6.8.1. However, because version 6.x defaults the defensive options to false, the patch will remain inactive unless administrators explicitly declare the settings in their application code.\n\nTo configure the defenses in a 6.x deployment, developers must set sandbox_iframes and convert_unsafe_embeds to true during the initialization phase:\n\njavascript\ntinymce.init({\n selector: 'textarea#editor',\n sandbox_iframes: true,\n convert_unsafe_embeds: true\n});\n\n\nUpgrading to version 7.x is recommended for long-term security. TinyMCE 7.0.0 secures the editor out of the box by setting sandbox_iframes to true by default, eliminating the risk of misconfiguration.\n\nFor verification, security teams can test the active instance by executing tinymce.activeEditor.getContent() after inserting a standard <iframe> or <object>. If the mitigation is functioning, the retrieved content must contain the sandbox="" attribute on all iframe tags, and legacy tags should be converted to safe semantic elements.

Official Patches

TinyMCEOfficial patch fix commit on GitHub
TinyMCETinyMCE 6.8.1 release documentation detailing new security configurations
TinyMCETinyMCE 7.0 release notes outlining secure default updates

Fix Analysis (1)

Technical Appendix

CVSS Score
4.3/ 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
EPSS Probability
1.60%
Top 18% most exploited

Affected Systems

TinyMCE Rich Text Editor

Affected Versions Detail

Product
Affected Versions
Fixed Version
TinyMCE
Tiny Technologies
< 6.8.16.8.1
TinyMCE
Tiny Technologies
>= 6.8.2, < 7.0.07.0.0
AttributeDetail
CWE IDCWE-79 (Improper Neutralization of Input During Web Page Generation)
Attack VectorNetwork
CVSS v3.1 Score4.3 (Medium Severity)
EPSS Score0.01605 (Percentile: 82.11%)
Exploit StatusPoC / Code-level understanding available
CISA KEV StatusNot Listed
Ransomware AssociationNo

MITRE ATT&CK Mapping

T1189Drive-by Compromise
Initial Access
T1185Browser Session Hijacking
Collection
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

The software does not neutralize or incorrectly neutralizes user-controlled input before it is placed in output that is used as a web page that is served to other users.

References & Sources

  • [1]NVD CVE-2024-29203 Detail
  • [2]CVE.org Authority Record
  • [3]GitHub Security Advisory GHSA-438c-3975-5x3f
  • [4]Fix Commit in GitHub Repository
  • [5]TinyMCE 6.8.1 Release Notes
  • [6]TinyMCE 7.0 Release Notes

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 4 hours ago•CVE-2026-9277
8.1

CVE-2026-9277: OS Command Injection in shell-quote via Object-Token Line Terminator Parsing Defect

A technical breakdown of the OS command injection vulnerability in the shell-quote NPM package (CVE-2026-9277 / GHSA-w7jw-789q-3m8p). The bug resides in the character-by-character backslash-escaping logic applied to the .op field of object-tokens within the quote() function, which fails to match and escape line terminators due to a regex matching oversight in JavaScript. This allows unauthenticated remote attackers to execute arbitrary shell commands if they can control inputs processed by this library.

Alon Barad
Alon Barad
7 views•6 min read
•about 5 hours ago•CVE-2026-11645
8.8

CVE-2026-11645: Out-of-Bounds Memory Access in Google Chrome V8 Engine

A high-severity memory corruption vulnerability exists in the V8 JavaScript engine of Google Chrome before versions 149.0.7827.102/103. The flaw arises from an incorrect bounds-check elimination during JIT compilation by the TurboFan optimizer, allowing remote attackers to achieve out-of-bounds read and write access inside the sandboxed renderer process.

Amit Schendel
Amit Schendel
21 views•6 min read
•about 14 hours ago•CVE-2026-50751
9.3

CVE-2026-50751: Authentication Bypass in Check Point Security Gateway IKEv1 Legacy Validation

An improper authentication vulnerability (CWE-287) exists in the legacy, deprecated Internet Key Exchange version 1 (IKEv1) key exchange protocol implementation in Check Point Security Gateways. The vulnerability is caused by a logic flow weakness during the certificate validation process for Remote Access VPN and Mobile Access (SSL VPN) connections. An unauthenticated remote attacker can exploit this weakness to bypass user authentication entirely, establishing a fully functional Remote Access VPN connection without a valid password.

Alon Barad
Alon Barad
67 views•6 min read
•1 day ago•CVE-2026-39922
6.3

CVE-2026-39922: Server-Side Request Forgery in GeoNode Service Registration Endpoint

GeoNode versions prior to 4.4.5 and 5.0.2 are vulnerable to Server-Side Request Forgery (SSRF) in the service registration endpoint. Authenticated attackers with low privileges can exploit insufficient input validation in the Web Map Service (WMS) registration module to force the application server to make outbound network queries to loopback addresses, private RFC1918 subnets, link-local scopes, and cloud metadata endpoints. This technical report details the mechanics of the vulnerability, the underlying architectural flaw, and how to effectively remediate and mitigate the associated security risks.

Alon Barad
Alon Barad
4 views•7 min read
•1 day ago•CVE-2022-0492
7.8

CVE-2022-0492: Privilege Escalation and Container Escape via cgroups v1 release_agent

CVE-2022-0492 is a high-severity missing authorization vulnerability in the Linux kernel's Control Groups (cgroups) v1 implementation. The flaw resides within the cgroup_release_agent_write function in kernel/cgroup/cgroup-v1.c, where the kernel fails to validate if the process writing to the release_agent file possesses administrative capabilities in the initial user namespace. This allows a local attacker inside a container with root privileges (UID 0) to abuse user namespaces, mount a cgroups v1 directory, modify the release_agent parameter, and execute arbitrary commands on the host system as host root, effectively achieving a complete container escape.

Amit Schendel
Amit Schendel
12 views•7 min read
•3 days ago•GHSA-G72G-R7M4-9X4G
6.3

GHSA-G72G-R7M4-9X4G: Insufficient Session Expiration of OAuth Tokens in NocoDB

NocoDB is subject to an insufficient session expiration vulnerability where OAuth access and refresh tokens are not invalidated or revoked during security-sensitive actions such as password changes, forgot-password requests, or password resets. This allows an attacker possessing an active OAuth token to maintain unauthorized persistence.

Amit Schendel
Amit Schendel
12 views•6 min read