Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:composer/tinymce/tinymce@4.1.8
purl pkg:composer/tinymce/tinymce@4.1.8
Next non-vulnerable version 6.8.4
Latest non-vulnerable version 7.2.0
Risk 4.0
Vulnerabilities affecting this package (13)
Vulnerability Summary Fixed by
VCID-1eut-y5qx-dkhu
Aliases:
CVE-2024-21908
GHSA-5h9g-x5rv-25wg
GMS-2021-132
GMS-2021-163
GMS-2021-189
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in tinymce.
5.9.0
Affected by 9 other vulnerabilities.
VCID-49u4-f94p-rbfy
Aliases:
CVE-2024-29203
GHSA-438c-3975-5x3f
TinyMCE Cross-Site Scripting (XSS) vulnerability in handling iframes A [cross-site scripting (XSS)](https://owasp.org/www-community/attacks/xss/) vulnerability was discovered in TinyMCE’s content insertion code. This allowed `iframe` elements containing malicious code to execute when inserted into the editor. These `iframe` elements are restricted in their permissions by same-origin browser protections, but could still trigger operations such as downloading of malicious assets.
6.8.1
Affected by 3 other vulnerabilities.
VCID-4v71-gmu2-akgq
Aliases:
CVE-2024-38356
GHSA-9hcv-j9pv-qmph
Duplicate This advisory duplicates another.
5.11.0
Affected by 0 other vulnerabilities.
6.8.4
Affected by 0 other vulnerabilities.
7.2.0
Affected by 0 other vulnerabilities.
VCID-9brg-dm6s-2ba7
Aliases:
CVE-2024-21911
GHSA-w7jx-j77m-wp65
GMS-2021-193
GMS-2021-508
GMS-2021-616
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in tinymce.
5.6.0
Affected by 10 other vulnerabilities.
VCID-ag8v-6k48-dkba
Aliases:
CVE-2023-45818
GHSA-v65r-p3vv-jjfv
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') TinyMCE is an open source rich text editor. A mutation cross-site scripting (mXSS) vulnerability was discovered in TinyMCE’s core undo and redo functionality. When a carefully-crafted HTML snippet passes the XSS sanitisation layer, it is manipulated as a string by internal trimming functions before being stored in the undo stack. If the HTML snippet is restored from the undo stack, the combination of the string manipulation and reparative parsing by either the browser's native [DOMParser API](https://developer.mozilla.org/en-US/docs/Web/API/DOMParser) (TinyMCE 6) or the SaxParser API (TinyMCE 5) mutates the HTML maliciously, allowing an XSS payload to be executed. This vulnerability has been patched in TinyMCE 5.10.8 and TinyMCE 6.7.1 by ensuring HTML is trimmed using node-level manipulation instead of string manipulation. Users are advised to upgrade. There are no known workarounds for this vulnerability.
5.10.8
Affected by 5 other vulnerabilities.
6.7.1
Affected by 5 other vulnerabilities.
VCID-fzy8-4m2x-tbe3
Aliases:
CVE-2023-48219
GHSA-v626-r774-j7f8
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') TinyMCE is an open source rich text editor. A mutation cross-site scripting (mXSS) vulnerability was discovered in TinyMCE’s core undo/redo functionality and other APIs and plugins. Text nodes within specific parents are not escaped upon serialization according to the HTML standard. If such text nodes contain a special character reserved as an internal marker, they can be combined with other HTML patterns to form malicious snippets. These snippets pass the initial sanitisation layer when the content is parsed into the editor body, but can trigger XSS when the special internal marker is removed from the content and re-parsed. his vulnerability has been patched in TinyMCE versions 6.7.3 and 5.10.9. Users are advised to upgrade. There are no known workarounds for this vulnerability.
5.10.9
Affected by 4 other vulnerabilities.
6.7.3
Affected by 4 other vulnerabilities.
VCID-haxk-yp7j-bub1
Aliases:
CVE-2023-45819
GHSA-hgqx-r2hp-jr38
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') 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.
5.10.8
Affected by 5 other vulnerabilities.
6.7.1
Affected by 5 other vulnerabilities.
VCID-nqmt-kv4x-juhy
Aliases:
CVE-2024-38357
GHSA-w9jx-4g6g-rp7x
TinyMCE Cross-Site Scripting (XSS) vulnerability using noscript elements A [cross-site scripting (XSS)](https://owasp.org/www-community/attacks/xss/) vulnerability was discovered in TinyMCE’s content parsing code. This allowed specially crafted noscript elements containing malicious code to be executed when that content was loaded into the editor.
5.11.0
Affected by 0 other vulnerabilities.
6.8.4
Affected by 0 other vulnerabilities.
7.2.0
Affected by 0 other vulnerabilities.
VCID-nztv-wcuq-jubt
Aliases:
CVE-2024-29881
GHSA-5359-pvf2-pw78
TinyMCE Cross-Site Scripting (XSS) vulnerability in handling external SVG files through Object or Embed elements A [cross-site scripting (XSS)](https://owasp.org/www-community/attacks/xss/) vulnerability was discovered in TinyMCE’s content loading and content inserting code. A SVG image could be loaded though an `object` or `embed` element and that image could potentially contain a XSS payload.
7.0.0
Affected by 2 other vulnerabilities.
VCID-qngh-qsty-nkhh
Aliases:
CVE-2020-12648
Cross-site Scripting A cross-site scripting (XSS) vulnerability in TinyMCE allows remote attackers to inject arbitrary web script when configured in classic editing mode.
4.9.11
Affected by 11 other vulnerabilities.
5.4.1
Affected by 11 other vulnerabilities.
VCID-rh8y-q2vc-q7ba
Aliases:
CVE-2022-23494
GHSA-gg8r-xjwq-4w92
Cross-site scripting vulnerability in TinyMCE alerts ### Impact A cross-site scripting (XSS) vulnerability was discovered in the alert and confirm dialogs when these dialogs were provided with malicious HTML content. This can occur in plugins that use the alert or confirm dialogs, such as in the `image` plugin, which presents these dialogs when certain errors occur. The vulnerability allowed arbitrary JavaScript execution when an alert presented in the TinyMCE UI for the current user. ### Patches This vulnerability has been patched in TinyMCE 5.10.7 and TinyMCE 6.3.1 by ensuring HTML sanitization was still performed after unwrapping invalid elements. ### Fix To avoid this vulnerability: - Upgrade to TinyMCE 5.10.7 or higher for TinyMCE 5.x. - Upgrade to TinyMCE 6.3.1 or higher for TinyMCE 6.x. ### Workaround To reduce the impact of this vulnerability: - Ensure the the `images_upload_handler` returns a valid value as per the images_upload_handler documentation. ### References - https://www.tiny.cloud/docs/release-notes/release-notes5107/#securityfixes - https://www.tiny.cloud/docs/tinymce/6/6.3-release-notes/#security-fixes ### For more information If you have any questions or comments about this advisory: * Email us at [infosec@tiny.cloud](mailto:infosec@tiny.cloud) * Open an issue in the [TinyMCE repo](https://github.com/tinymce/tinymce/issues)
5.10.7
Affected by 7 other vulnerabilities.
6.3.1
Affected by 7 other vulnerabilities.
VCID-vyvk-n5gm-1uc8
Aliases:
CVE-2024-21910
GHSA-r8hm-w5f7-wj39
GMS-2021-133
GMS-2021-164
GMS-2021-192
GMS-2021-8
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in TinyMCE.
5.10.0
Affected by 8 other vulnerabilities.
VCID-yxpz-j48p-dydc
Aliases:
CVE-2020-17480
GHSA-27gm-ghr9-4v95
Cross-site Scripting TinyMCE allows XSS in the core parser, the paste plugin, and the visualchars plugin by using the clipboard or APIs to insert content into the editor.
4.9.7
Affected by 12 other vulnerabilities.
5.1.4
Affected by 12 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-06T05:08:56.500528+00:00 GitLab Importer Affected by VCID-nqmt-kv4x-juhy https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/tinymce/tinymce/CVE-2024-38357.yml 38.6.0
2026-06-06T05:08:53.248770+00:00 GitLab Importer Affected by VCID-4v71-gmu2-akgq https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/tinymce/tinymce/CVE-2024-38356.yml 38.6.0
2026-06-06T04:47:25.218948+00:00 GitLab Importer Affected by VCID-nztv-wcuq-jubt https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/tinymce/tinymce/CVE-2024-29881.yml 38.6.0
2026-06-06T04:47:24.237089+00:00 GitLab Importer Affected by VCID-49u4-f94p-rbfy https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/tinymce/tinymce/CVE-2024-29203.yml 38.6.0
2026-06-06T04:19:37.958943+00:00 GitLab Importer Affected by VCID-fzy8-4m2x-tbe3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/tinymce/tinymce/CVE-2023-48219.yml 38.6.0
2026-06-06T04:14:40.183678+00:00 GitLab Importer Affected by VCID-ag8v-6k48-dkba https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/tinymce/tinymce/CVE-2023-45818.yml 38.6.0
2026-06-06T04:14:30.202808+00:00 GitLab Importer Affected by VCID-haxk-yp7j-bub1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/tinymce/tinymce/CVE-2023-45819.yml 38.6.0
2026-06-06T03:17:41.170051+00:00 GitLab Importer Affected by VCID-rh8y-q2vc-q7ba https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/tinymce/tinymce/CVE-2022-23494.yml 38.6.0
2026-06-06T01:04:42.790822+00:00 GitLab Importer Affected by VCID-vyvk-n5gm-1uc8 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/tinymce/tinymce/GMS-2021-133.yml 38.6.0
2026-06-06T01:03:44.425112+00:00 GitLab Importer Affected by VCID-1eut-y5qx-dkhu https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/tinymce/tinymce/GMS-2021-132.yml 38.6.0
2026-06-04T20:43:05.222116+00:00 GitLab Importer Affected by VCID-9brg-dm6s-2ba7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/tinymce/tinymce/GMS-2021-508.yml 38.6.0
2026-06-04T20:34:08.039584+00:00 GitLab Importer Affected by VCID-qngh-qsty-nkhh https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/tinymce/tinymce/CVE-2020-12648.yml 38.6.0
2026-06-04T20:34:01.448157+00:00 GitLab Importer Affected by VCID-yxpz-j48p-dydc https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/tinymce/tinymce/CVE-2020-17480.yml 38.6.0