CVE-2026-47759: TinyMCE Cross-Site Scripting (XSS) Vulnerability via data-mce-* Attributes

tinymce Updated 05 Jun 2026

Summary

05/06/2026
Yes i
High
8.7

CVE-2026-47759: Impact Stored XSS vulnerability via unsanitized data-mce-* attributes (data-mce-href, data-mce-src, data-mce-style). Affects tinymce across 2 version ranges.

>= 6.0.0, < 7.9.3 >= 8.0.0, < 8.5.1

Fixed in 7.9.3 or 8.5.1, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

TinyMCE is a popular open-source rich text editor that enables users to create and edit content in a web-based environment. It is widely used due to its flexibility, ease of integration, and extensive features such as customizable toolbars, plugins, and support for various content formats. However, TinyMCE has a vulnerability that allows attackers to exploit unsanitized data-mce-* attributes, leading to potential Cross-Site Scripting (XSS) attacks.

Vulnerability Detail

The vulnerability arises from the ability to inject malicious values into unsanitized data-mce-* attributes (data-mce-href, data-mce-src, data-mce-style) within TinyMCE. This allows attackers to override safe attributes during serialization, effectively bypassing validation mechanisms. The ramifications include the potential for attackers to execute arbitrary scripts in the context of the user's browser, leading to data theft, session hijacking, or other malicious activities.

How To Fix

Latest published version: 8.10.0 as of 23 Oct 2026

npm install tinymce@8.10.0

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 6.0.0, < 7.9.3 7.9.3
    npm install tinymce@7.9.3
  • >= 8.0.0, < 8.5.1 8.5.1
    npm install tinymce@8.5.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

Currently, there are no official workarounds available for this vulnerability. It is strongly recommended to upgrade to the patched versions as soon as possible.

Conclusion

The CVE-2026-47759 vulnerability in TinyMCE highlights a significant security risk due to unsanitized data-mce-* attributes that can lead to XSS attacks. Users are urged to upgrade to the latest patched versions to mitigate this risk and ensure the security of their applications.

See every vulnerability recorded for tinymce →

Share this vulnerability

FAQ

CVE-2026-47759 is a vulnerability in TinyMCE that allows for Cross-Site Scripting (XSS) attacks through unsanitized data-mce-* attributes.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to analyze your package-lock.json without any signup.

The vulnerability can lead to data theft, session hijacking, and execution of arbitrary scripts in the user's browser, posing serious security risks.

Yes, patches are available in the latest versions of TinyMCE. Users should upgrade to TinyMCE 8.5.1, 7.9.3, or 5.11.1 LTS or higher.

The CVSS score of this vulnerability is 8.7, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for tinymce.

How To Fix

Latest published version: 8.10.0 as of 23 Oct 2026

npm install tinymce@8.10.0

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 6.0.0, < 7.9.3 7.9.3
    npm install tinymce@7.9.3
  • >= 8.0.0, < 8.5.1 8.5.1
    npm install tinymce@8.5.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback