Media

TinyMCE Cross-Site Scripting (XSS) vulnerability in handling iframes

  • Publicada: 26.03.2024
  • Actualizado: 11.10.2026 11:23

Impact

A cross-site scripting (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.

Fix

TinyMCE 6.8.1 introduced a new sandbox_iframes boolean option which adds the sandbox="" attribute to every iframe element by default when enabled. This will prevent cross-origin, and in special cases same-origin, XSS by embedded resources in iframe elements. From TinyMCE 7.0.0 onwards the default value of this option is true.

In TinyMCE 7.0.0 a new sandbox_iframes_exclusions option was also added, allowing a list of domains to be specified that should be excluded from having the sandbox="" attribute applied when the sandbox_iframes option is enabled. By default, this option is set to an array of domains that are provided in embed code by popular websites. To sandbox iframe elements from every domain, set this option to [].

Workarounds

The HTTP Content-Security-Policy (CSP) frame-src or object-src can be configured to restrict or block the loading of unauthorized URLS. Refer to the TinyMCE Content Security Policy Guide.

References

Software afectado

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

PlataformaPaqueteVersiones vulnerablesCorregida en
Paquete de Composer tinymce/tinymce < 6.8.1 6.8.1
Paquete de npm tinymce < 6.8.1 6.8.1
.NET (NuGet) TinyMCE < 6.8.1 6.8.1

Referencias

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

Fuentes y licencias

OSV / GitHub Advisory Database - GHSA-438c-3975-5x3f - CC BY 4.0

Historial de vulnerabilidades: TinyMCE

Todas las vulnerabilidades publicadas de este paquete (.NET (NuGet)), 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 Cross-Site Scripting (XSS) vulnerability in handling iframes esta entrada
    Media · 4.3 CVE-2024-29203 < 6.8.1 6.8.1

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.