Loading HuntDB...

GHSA-hgqx-r2hp-jr38

GitHub Security Advisory

TinyMCE XSS vulnerability in notificationManager.open API

✓ GitHub Reviewed MODERATE Has CVE

Advisory Details

### Impact
A [cross-site scripting (XSS)](https://owasp.org/www-community/attacks/xss/) vulnerability was discovered in TinyMCE’s Notification Manager API. The vulnerability exploits TinyMCE's unfiltered notification system, which is used in error handling. The conditions for this exploit requires carefully crafted malicious content to have been inserted into the editor and a notification to have been triggered.

When a notification was opened, the HTML within the text argument was displayed unfiltered in the notification. The vulnerability allowed arbitrary JavaScript execution when an notification presented in the TinyMCE UI for the current user. This issue could also be exploited by any integration which uses a TinyMCE notification to display unfiltered HTML content.

### Patches
This vulnerability has been patched in TinyMCE 5.10.8 and TinyMCE 6.7.1 by ensuring that the HTML displayed in the notification is sanitized, preventing the exploit.

### Fix
To avoid this vulnerability:

* Upgrade to TinyMCE 5.10.8 or higher for TinyMCE 5.x.
* Upgrade to TinyMCE 6.7.1 or higher for TinyMCE 6.x.

### References
* <https://tiny.cloud/docs/release-notes/release-notes5108/#securityfixes>
* <https://tiny.cloud/docs/tinymce/6/6.7.1-release-notes/#security-fixes>

### For more information
If you have any questions or comments about this advisory:
* Email us at <[email protected]>
* Open an issue in the [TinyMCE repo](https://github.com/tinymce/tinymce/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc)

Affected Packages

npm tinymce
Affected versions: 6.0.0 (fixed in 6.7.1)
NuGet TinyMCE
Affected versions: 6.0.0 (fixed in 6.7.1)
Packagist tinymce/tinymce
Affected versions: 6.0.0 (fixed in 6.7.1)
npm tinymce
Affected versions: 0 (fixed in 5.10.8)
NuGet TinyMCE
Affected versions: 0 (fixed in 5.10.8)
Packagist tinymce/tinymce
Affected versions: 0 (fixed in 5.10.8)

Related CVEs

Key Information

GHSA ID
GHSA-hgqx-r2hp-jr38
Published
October 19, 2023 4:42 PM
Last Modified
October 20, 2023 4:17 PM
CVSS Score
5.0 /10
Primary Ecosystem
npm
Primary Package
tinymce
GitHub Reviewed
✓ Yes

Dataset

Last updated: August 1, 2025 6:44 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.