Skip to content
OpenAdvisories
Medium · 6.1 CVE-2023-45819 EUVD-2023-2747GHSA-hgqx-r2hp-jr38

Cross-site Scripting vulnerability in TinyMCE notificationManager.open API

Published Oct 19, 2023 · Updated Sep 12, 2024 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
tinymce tinymce < 5.10.8, >= 6.0.0, < 6.7.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS tinymce No fix yet —
Ubuntu 18.04 LTS tinymce No fix yet —
Ubuntu 16.04 LTS tinymce No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm tinymce >= 6.0.0, < 6.7.1 6.7.1 GHSA-hgqx-r2hp-jr38
npm tinymce < 5.10.8 5.10.8 GHSA-hgqx-r2hp-jr38
NuGet TinyMCE >= 6.0.0, < 6.7.1 6.7.1 GHSA-hgqx-r2hp-jr38
NuGet TinyMCE < 5.10.8 5.10.8 GHSA-hgqx-r2hp-jr38
Packagist tinymce/tinymce >= 6.0.0, < 6.7.1 6.7.1 GHSA-hgqx-r2hp-jr38
Packagist tinymce/tinymce < 5.10.8 5.10.8 GHSA-hgqx-r2hp-jr38

Advisories 1

References