TinyMCE vulnerable to mutation Cross-site Scripting via special characters in unescaped text nodes
Impact
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. Such mutations occur when serialised HTML content is processed before being stored in the undo stack, or when the following APIs and plugins are used:
Patches
This vulnerability has been patched in TinyMCE 6.7.3 by:
- ensuring that any unescaped text nodes which contain the special internal marker are emptied before removing the marker from the rest of the HTML, and
- removing the special internal marker from content strings passed to
Editor.setContent,Editor.insertContent, andEditor.resetContentAPIs to prevent them from being loaded into the editor as user-provided content.
Fix
To avoid this vulnerability:
- Upgrade to TinyMCE 6.7.3 or higher for TinyMCE 6.x.
- Upgrade to TinyMCE 5.10.9 or higher for TinyMCE 5.x.
Acknowledgements
Tiny Technologies would like to thank Masato Kinugawa of Cure53 for discovering this vulnerability.
References
For more information
Email us at infosec@tiny.cloud Open an issue in the TinyMCE repo
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Paczka Composer | tinymce/tinymce | < 5.10.9, >= 6.0.0, < 6.7.3 | 5.10.9, 6.7.3 |
| Paczka npm | tinymce | < 5.10.9, >= 6.0.0, < 6.7.3 | 5.10.9, 6.7.3 |
| .NET (NuGet) | TinyMCE | < 5.10.9, >= 6.0.0, < 6.7.3 | 5.10.9, 6.7.3 |
Odnośniki
- https://github.com/tinymce/tinymce/security/advisories/GHSA-v626-r774-j7f8
- https://nvd.nist.gov/vuln/detail/CVE-2023-48219
- https://github.com/tinymce/tinymce
- https://github.com/tinymce/tinymce/releases/tag/5.10.9
- https://github.com/tinymce/tinymce/releases/tag/6.7.3
- https://tiny.cloud/docs/release-notes/release-notes5109
- https://tiny.cloud/docs/tinymce/6/6.7.3-release-notes
- Wektor CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Słabość (CWE)
CWE-79- Platforma
- Composer, npm, .NET (NuGet)
- Paczka
tinymce/tinymce, tinymce, TinyMCE- Ujawniono
- 15.11.2023
- Aktualizacja
- 11.10.2026 11:23
Źródła i licencje
OSV / GitHub Advisory Database - GHSA-v626-r774-j7f8 - CC BY 4.0
Historia podatności: tinymce
Wszystkie opisane podatności tej paczki (Paczka npm), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 20
- Pierwsza → ostatnia
- 01.2020 06.2026
- Bez poprawki
- 0
- Wykorzystywana w atakach
- 0
Rozkład istotności
- Wysoka 5
- Średnia 14
- Niska 1
Ujawnienia w latach
- 2020: 3
- 2021: 5
- 2022: 1
- 2023: 3
- 2024: 4
- 2025: 0
- 2026: 4
-
TinyMCE vulnerable to mutation Cross-site Scripting via special characters in unescaped text nodes ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.