# CVE-2026-47759: TinyMCE stored XSS via unsanitized data-mce attributes

Source: https://junglewise.ai/threats/cve-2026-47759-tinymce-stored-xss-via-unsanitized-data-mce-attributes  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-28. Updated: 2026-06-05  
License: CC BY 4.0 with a link back

CVE-2026-47759 · Severity: high · CVSS 8.7 · Published 2026-05-28

TinyMCE, a widely used rich-text editor for web applications, is vulnerable to a security flaw that allows attackers to inject malicious scripts into content. If an attacker saves a specially crafted document, other users viewing that content could have their accounts compromised or sensitive data stolen. This occurs because the editor fails to properly clean certain internal attributes used for styling and links.

Technologies: [tinymce (npm)](https://junglewise.ai/threats/technologies/tinymce), [TinyMCE (NuGet)](https://junglewise.ai/threats/technologies/nuget-tinymce), [tinymce/tinymce (Packagist)](https://junglewise.ai/threats/technologies/tinymce-tinymce). Vendors: [npm](https://junglewise.ai/threats/vendors/npm), [NuGet](https://junglewise.ai/threats/vendors/nuget), [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2026-47759 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-47759 being exploited in the wild.

**How severe is CVE-2026-47759?** High severity, with a CVSS score of 8.7, published 28 May 2026.

**Which products and versions are affected?** tinymce (npm) SEMVER:introduced=0,last_affected=5.10.9; TinyMCE (NuGet) ECOSYSTEM:introduced=0,last_affected=5.10.9; tinymce/tinymce (Packagist) ECOSYSTEM:introduced=0,last_affected=5.10.9.

**Is there a fix for CVE-2026-47759?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-47759 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-47759?** Check whether you run tinymce (npm), TinyMCE (NuGet) or tinymce/tinymce (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A stored cross-site scripting (XSS) vulnerability exists in TinyMCE due to improper neutralization of 'data-mce-' prefixed attributes, specifically data-mce-href, data-mce-src, and data-mce-style. During the serialization process, these unsanitized internal attributes can override their safe counterparts (src, href, style), allowing an attacker with low privileges to bypass standard validation filters. An attacker can exploit this by submitting malicious content that, when rendered by another user, executes arbitrary JavaScript in the victim's browser. The vulnerability is patched in versions 5.11.1 LTS, 7.9.3, and 8.5.1 by stripping these unsafe attributes during parsing.

## Affected products

- TinyMCE tinymce < 5.11.1, >= 6.0.0 < 7.9.3, >= 8.0.0 < 8.5.1

## Identifiers

- CVE-2026-47759
- GHSA-q742-qvgc-gc2f

## Timeline

- 2026-05-20: disclosed: Initial disclosure to tinymce/tinymce repository
- 2026-05-28: advisory: NVD publication date
- 2026-06-05: advisory: GitHub Advisory Database publication date

## References

- [https://api.github.com/users/mtrill47](https://api.github.com/users/mtrill47)
- [https://github.com/mtrill47](https://github.com/mtrill47)
- [https://api.github.com/users/mtrill47/gists%7B/gist_id%7D](https://api.github.com/users/mtrill47/gists%7B/gist_id%7D)
- [https://api.github.com/users/mtrill47/repos](https://api.github.com/users/mtrill47/repos)
- [https://avatars.githubusercontent.com/u/62527663?v=4](https://avatars.githubusercontent.com/u/62527663?v=4)
- [https://api.github.com/users/mtrill47/events%7B/privacy%7D](https://api.github.com/users/mtrill47/events%7B/privacy%7D)

## Related threats

- [TinyMCE media plugin stored cross-site scripting](https://junglewise.ai/threats/cve-2026-116675-tinymce-is-an-open-source-rich-text-editor-from-7-9-3-until-7-9)
- [PYSEC-2026-1301 - TinyMCE Cross-Site Scripting (XSS) vulnerability using noneditable_regexp option](https://junglewise.ai/threats/cve-2024-38356-tinymce-cross-site-scripting-in-noneditable-regexp)
- [PYSEC-2026-1302 - TinyMCE Cross-Site Scripting (XSS) vulnerability using noscript elements](https://junglewise.ai/threats/cve-2024-38357-tinymce-cross-site-scripting-in-noscript-element-parsing)
- [PYSEC-2026-632 - Cross-site scripting vulnerability in TinyMCE plugins](https://junglewise.ai/threats/cve-2024-21910-tinymce-cross-site-scripting-in-image-and-link-plugins)
- [Tiny Technologies TinyMCE stored XSS via forged mce:protected comments](https://junglewise.ai/threats/cve-2026-47762-tiny-technologies-tinymce-stored-xss-via-forged-mce-protected)
