CVE-2022-31175Ckeditor5-html-embed
Media 4.7 Sin autenticación
Seguir: esta CVE · Ckeditor · Ckeditor5-html-embed Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 43
- CVSS 3.1
- 4.7
- EPSS
- 0.8% probabilidad de explotación en 30 días · percentil 54
- Requiere autenticación
- No
- Publicada
- 3 ago 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-79
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Qué pasa
CKEditor 5 is a JavaScript rich text editor. A cross-site scripting vulnerability has been discovered affecting three optional CKEditor 5's packages in versions prior to 35.0.1. The vulnerability allowed to trigger a JavaScript code after fulfilling special conditions. The affected packages are `@ckeditor/ckeditor5-markdown-gfm`, `@ckeditor/ckeditor5-html-support`, and `@ckeditor/ckeditor5-html-embed`. The specific conditions are 1) Using one of the affected packages. In case of `ckeditor5-html-support` and `ckeditor5-html-embed`, additionally, it was required to use a configuration that allows unsafe markup inside the editor. 2) Destroying the editor instance and 3) Initializing the editor on an element and using an element other than `<textarea>` as a base. The root cause of the issue was a mechanism responsible for updating the source element with the markup coming from the CKEditor 5 data pipeline after destroying the editor. This vulnerability might affect a small percent of integrators that depend on dynamic editor initialization/destroy and use Markdown, General HTML Support or HTML embed features. The problem has been recognized and patched. The fix is available in version 35.0.1. There are no known workarounds for this issue.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Ckeditor5-html-embed.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| npm | @ckeditor/ckeditor5-html-embed |
< 35.0.1 |
35.0.1 |
npm install @ckeditor/ckeditor5-html-embed@35.0.1 |
| npm | @ckeditor/ckeditor5-html-support |
< 35.0.1 |
35.0.1 |
npm install @ckeditor/ckeditor5-html-support@35.0.1 |
| npm | @ckeditor/ckeditor5-markdown-gfm |
< 35.0.1 |
35.0.1 |
npm install @ckeditor/ckeditor5-markdown-gfm@35.0.1 |
Según OSV / GitHub Advisories (GHSA-42wq-rch8-6f6j). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| ckeditor | ckeditor5-html-embed | < 35.0.1 |
| ckeditor | ckeditor5-html-support | < 35.0.1 |
| ckeditor | ckeditor5-markdown-gfm | < 35.0.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- ckeditor.com Vendor Advisory
- ckeditor.com Vendor Advisory
- ckeditor.com Vendor Advisory
- github.com Third Party Advisory