CVE-2024-29203 is a medium-severity cross-site scripting (XSS) vulnerability in tinymce (npm), affecting versions < 6.8.1. It is fixed in 6.8.1.
Impact A cross-site scripting (XSS) vulnerability was discovered in TinyMCE’s content insertion code. This allowed iframe elements containing malicious code to execute when inserted into the editor. These iframe elements are restricted in their permissions by same-origin browser protections, but could still trigger operations such as downloading of malicious assets. Fix TinyMCE 6.8.1 introduced a new sandboxiframes boolean option which adds the sandbox="" attribute to every iframe element by default when enabled. This will prevent cross-origin, and in special cases same-origin, XSS by embedded resources in iframe elements. From TinyMCE 7.0.0 onwards the default value of this option is true. In TinyMCE 7.0.0 a new sandboxiframesexclusions option was also added, allowing a list of domains to be specified that should be excluded from having the sandbox="" attribute applied when the sandboxiframes option is enabled. By default, this option is set to an array of domains that are provided in embed code by popular websites. To sandbox iframe elements from every domain, set this option to []. Workarounds The HTTP Content-Security-Policy (CSP) frame-src or object-src can be configured to restrict or block the loading of unauthorized URLS. Refer to the TinyMCE Content Security Policy Guide. References TinyMCE 6.8.1 TinyMCE 7.0.0
Untrusted input is rendered as active markup in a victim's browser, which can run script in their session. Typical impact: session or credential theft, and actions taken as the user.
CVE-2024-29203 has a CVSS score of 4.3 (Medium). The vector is network-reachable, no privileges required, and user interaction required. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment.
A fixed version is available (6.8.1). Upgrading removes the vulnerable code path.
npm
tinymce (< 6.8.1)nuget
TinyMCE (< 6.8.1)composer
tinymce/tinymce (< 6.8.1)tinymce → 6.8.1 (npm)TinyMCE → 6.8.1 (nuget)tinymce/tinymce → 6.8.1 (composer)Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter instead of chasing every advisory.
Kodem's runtime-powered SCA identifies whether CVE-2024-29203 is reachable in your applications. Explore open-source security for your team.
See if CVE-2024-29203 is reachable in your applications. Get a demo
Upgrade the following packages to resolve this vulnerability:
tinymce to 6.8.1 or laterTinyMCE to 6.8.1 or latertinymce/tinymce to 6.8.1 or laterKodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.
CVE-2024-29203 is a medium-severity cross-site scripting (XSS) vulnerability in tinymce (npm), affecting versions < 6.8.1. It is fixed in 6.8.1. Untrusted input is rendered as active markup in a victim's browser, which can run script in their session.
CVE-2024-29203 has a CVSS score of 4.3 (Medium). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
tinymce (npm) (versions < 6.8.1)TinyMCE (nuget) (versions < 6.8.1)tinymce/tinymce (composer) (versions < 6.8.1)Yes. CVE-2024-29203 is fixed in 6.8.1. Upgrade to this version or later.
Whether CVE-2024-29203 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
tinymce to 6.8.1 or laterTinyMCE to 6.8.1 or latertinymce/tinymce to 6.8.1 or later