Media

TinyMCE vulnerable to mutation Cross-site Scripting via special characters in unescaped text nodes

  • Publicada: 15.11.2023
  • Actualizado: 11.10.2026 11:23

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, and Editor.resetContent APIs 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

Software afectado

Haz clic en una tecnología para ver todas sus vulnerabilidades.

PlataformaPaqueteVersiones vulnerablesCorregida en
Paquete de Composer tinymce/tinymce < 5.10.9, >= 6.0.0, < 6.7.3 5.10.9, 6.7.3
Paquete de 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

Referencias

Puntuación CVSS 6.1/10
Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Debilidad (CWE)
CWE-79
Plataforma
Composer, npm, .NET (NuGet)
Paquete
tinymce/tinymce, tinymce, TinyMCE
Publicada
15.11.2023
Actualizado
11.10.2026 11:23

Fuentes y licencias

OSV / GitHub Advisory Database - GHSA-v626-r774-j7f8 - CC BY 4.0

Historial de vulnerabilidades: tinymce/tinymce

Todas las vulnerabilidades publicadas de este paquete (Paquete de Composer), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.

Todas (15) en el archivo
Entradas en total
15
Primera → última
01.2021 06.2026
Sin corrección
0
Explotada en ataques
0

Distribución por gravedad

  • Alta 4
  • Media 11

Divulgaciones por año

  1. 2021: 3
  2. 2022: 1
  3. 2023: 3
  4. 2024: 4
  5. 2025: 0
  6. 2026: 4
Gravedad:
  1. Alta · 8.7 CVE-2026-47761 <= 5.10.9, >= 6.0.0, < 7.9.3, >= 8.0.0, < 8.5.1 7.9.3, 8.5.1
  2. Alta · 8.7 CVE-2026-47762 <= 5.10.9, >= 6.0.0, < 7.9.3, >= 8.0.0, < 8.5.1 7.9.3, 8.5.1
  3. Alta · 8.7 CVE-2026-47759 <= 5.10.9, >= 6.0.0, < 7.9.3, >= 8.0.0, < 8.5.1 7.9.3, 8.5.1
  4. TinyMCE vulnerable to mutation Cross-site Scripting via special characters in unescaped text nodes esta entrada
    Media · 6.1 CVE-2023-48219 < 5.10.9, >= 6.0.0, < 6.7.3 5.10.9, 6.7.3

Identifica las vulnerabilidades de tu aplicación

Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.

Conectar tu aplicación
Newsletter DockRay

La seguridad de tus aplicaciones en tu correo

Vulnerabilidades importantes, recomendaciones concretas y consejos prácticos para tus aplicaciones. Elige tus tecnologías y sigue lo que importa para tu proyecto.

  • Un resumen diario de nuevas vulnerabilidades, también las críticas.
  • Avisos sobre actualizaciones importantes.
  • Consejos prácticos sobre seguridad y monitorización de aplicaciones.

Déjalo vacío para recibir avisos de todas las tecnologías.

Suscripción gratuita. Date de baja con un clic en cualquier correo.