Skip to main content

CVE-2026-47761 — Vulnerability in tinymce/tinymce — CVE Details

HIGH

TinyMCE Cross-Site Scripting (XSS) vulnerability using media plugin `data-mce-object` injection

Published June 5, 2026Updated September 10, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.41%). Schedule for your next planned update.

Does your project use an affected tinymce/tinymce version?

Paste your composer.lock to check it for CVE-2026-47761 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my composer.lock

Summary

Impact

Stored XSS vulnerability in the media plugin. Attackers can inject malicious scripts via crafted data-mce-* attributes, which are executed when content is rendered. Impacts users of TinyMCE with the media plugin enabled.

Patches

This vulnerability has been patched in TinyMCE 8.5.1, TinyMCE 7.9.3 and TinyMCE 5.11.1 LTS by ensuring that, when using the media plugin, any content with data-mce-object and data-mce-p-* attributes are properly sanitized.

Workarounds

No official workaround available.

Fix

To avoid this vulnerability:

  • Upgrade to TinyMCE 8.5.1 or higher.
  • Upgrade to TinyMCE 7.9.3 or higher.
  • Upgrade to TinyMCE 5.11.1 LTS or higher for TinyMCE 5.x (only available as part of commercial long-term support contract).

Acknowledgements

Tiny thanks Aymane MAZGUITI and Ange Primiterra for their help identifying this vulnerability.

Advisory Timeline

  • First published June 5, 2026 (174 days ago).
  • Last revised September 10, 2026 — 96 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update TinyMCE to 7.9.3 or later
dotnet add package TinyMCE --version 7.9.3
Composer
Update tinymce/tinymce to 7.9.3 or later
composer require "tinymce/tinymce:^7.9.3"
Composer
Update tinymce/tinymce to 8.5.1 or later
composer require "tinymce/tinymce:^8.5.1"
npm
Update tinymce to 7.9.3 or later
npm install tinymce@7.9.3
npm
Update tinymce to 8.5.1 or later
npm install tinymce@8.5.1
NuGet
Update TinyMCE to 8.5.1 or later
dotnet add package TinyMCE --version 8.5.1

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (9)

Affects 3 ecosystems: npm (1), NuGet (1), Packagist (1).

PackageFixed In
tinymce/tinymce Packagist · Affected: 4.0.0, 4.0.1, 4.0.10, 4.0.11 (+169 more)Range-based data available
TinyMCE NuGet · Affected: 6.0.0, 6.0.1, 6.0.2, 6.0.3 (+45 more)7.9.3
tinymce/tinymce Packagist · Affected: 6.0.0, 6.0.1, 6.0.2, 6.0.3 (+47 more)7.9.3
tinymce/tinymce Packagist · Affected: 8.0.0, 8.0.1, 8.0.2, 8.1.0 (+10 more)8.5.1
tinymce npm · Affected: All versions7.9.3
tinymce npm · Affected: All versions8.5.1
TinyMCE NuGet · Affected: 3.4.3.2, 3.4.4, 3.4.5, 3.4.7 (+178 more)Range-based data available
TinyMCE NuGet · Affected: 8.0.0, 8.0.1, 8.0.2, 8.1.0 (+10 more)8.5.1
tinymce npm · Affected: All versionsRange-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.7 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Frequently Asked Questions

What is CVE-2026-47761?
TinyMCE Cross-Site Scripting (XSS) vulnerability using media plugin `data-mce-object` injection. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.7/10).
How do I check if my project is affected by CVE-2026-47761?
CVE-2026-47761 affects tinymce/tinymce, TinyMCE and tinymce. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-47761 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.7

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.41%
EPSS percentile: 27.2

This is a below-median EPSS score — only 27.2% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-vg35-5wq7-3x7w

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock