CVE-2023-45819: Cross-site Scripting vulnerability in TinyMCE notificationManager.open API
Impact A cross-site scripting (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 <infosec@tiny.cloud> Open an issue in the TinyMCE repo
Other sources
TinyMCE is an open source rich text editor. A cross-site scripting (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. 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. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected Software
Event History
Frequently Asked Questions
What is the impact of CVE-2023-45819?
CVE-2023-45819 is a cross-site scripting (XSS) vulnerability in TinyMCE's Notification Manager API, which can be exploited through the unfiltered notification system.
What is the severity of CVE-2023-45819?
The severity of CVE-2023-45819 is medium with a CVSS score of 6.1.
Which software is affected by CVE-2023-45819?
The vulnerability affects the following software versions: TinyMCE 5.10.8, TinyMCE 6.0.0 to 6.7.1.
How can CVE-2023-45819 be fixed?
To fix CVE-2023-45819, upgrade to TinyMCE version 5.10.8 or TinyMCE version 6.7.1, depending on the affected software version.
Where can I find more information about CVE-2023-45819?
More information about CVE-2023-45819 can be found in the following references: [GitHub Advisory](https://github.com/tinymce/tinymce/security/advisories/GHSA-hgqx-r2hp-jr38), [TinyMCE Release Notes 5.10.8](https://tiny.cloud/docs/release-notes/release-notes5108/#securityfixes), [TinyMCE Release Notes 6.7.1](https://tiny.cloud/docs/tinymce/6/6.7.1-release-notes/#security-fixes).