# CVE-2026-47760: TinyMCE XSS via improper SVG namespace handling in sanitizer

Source: https://junglewise.ai/threats/cve-2026-47760-tinymce-xss-via-improper-svg-namespace-handling-in-sanitizer  
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-47760 · Severity: high · CVSS 8.7 · Published 2026-05-28

TinyMCE is a widely used rich-text editor integrated into many web applications to allow users to create and format content. A security flaw in its content filtering system allows an attacker to bypass safety checks by using specially formatted images (SVGs). If exploited, this could allow an attacker to run malicious scripts in another user's browser, potentially leading to unauthorized access to user data or account takeover.

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

## Quick answers

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

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

**Which products and versions are affected?** tinymce (npm) >= 6.8.0, < 7.1.0, SEMVER:introduced=6.8.0,fixed=7.1.0; tinymce/tinymce (Packagist) >= 6.8.0, < 7.1.0.

**Is there a fix for CVE-2026-47760?** Yes. tinymce (npm): upgrade to 7.1.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

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

**Am I affected by CVE-2026-47760?** Check whether you run tinymce (npm) 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.

## How to fix

- tinymce (npm): upgrade to 7.1.0 or later

  ```sh
  npm install tinymce@7.1.0
  ```


## Technical details

A Cross-Site Scripting (XSS) vulnerability exists in TinyMCE versions 6.8.0 through 7.0.x. The root cause is improper SVG namespace scope handling within the editor's HTML sanitizer. By crafting a payload using nested <svg> elements, an attacker can bypass attribute sanitization to execute arbitrary JavaScript. Exploitation requires network access and low privileges to submit content, plus interaction from another user to view the malicious content. The issue is resolved in TinyMCE version 7.1.0 through a rewrite of the affected sanitization logic.

## Affected products

- Tiny TinyMCE >= 6.8.0, < 7.1.0

## Identifiers

- CVE-2026-47760
- GHSA-mh5m-5hw4-5c69

## Timeline

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

## References

- [https://api.github.com/users/maple3142](https://api.github.com/users/maple3142)
- [https://github.com/maple3142](https://github.com/maple3142)
- [https://api.github.com/users/maple3142/gists%7B/gist_id%7D](https://api.github.com/users/maple3142/gists%7B/gist_id%7D)
- [https://api.github.com/users/maple3142/repos](https://api.github.com/users/maple3142/repos)
- [https://avatars.githubusercontent.com/u/9370547?v=4](https://avatars.githubusercontent.com/u/9370547?v=4)
- [https://api.github.com/users/maple3142/events%7B/privacy%7D](https://api.github.com/users/maple3142/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)
