llamaCVEVulnerability Intelligence
/
ckeditor5

CVE-2022-31175

Cross-site scripting caused by the editor instance destroying process in ckeditor5

Texto original en inglés · Ver en español

Parche disponiblecross-site scripting (XSS)
Descargar PNG JSON
CVSS 3.1
5.8
Media
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L Fuente: CNA
ExplotaciónSin evidenciaSSVC: ninguna · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche a 1288 d de la divulgación
Exposición1.571 dDesde la divulgación, 3 ago 2022, 2:05 p. m.
Detección1.566 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Si tu inventario está al día, ya ganaste.Bien priorizada, bien dormida.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche 47.5.0
Monitoreo
Detectada
3 ago 22
23 abr 25
11 feb 26
17 nov 26
21 nov 26
3 ago 22
31 ago 23
27 sept 24
25 oct 25
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2022-31175 divulgada · CVSS 5.8 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Remediación Parche 47.5.0 @ckeditor/ckeditor5-markdown-gfm · 1288 d desde divulgación
Monitoreo Detectada Ingresó al índice
Resumen

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.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:R
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:L
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:L
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
5.9/ 10Medio
Vector 5.9 (moderada) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
ckeditor5 · @ckeditor/ckeditor5-markdown-gfm · @ckeditor/ckeditor5-html-support · @ckeditor/ckeditor5-html-embed< 35.0.1
35.0.1
49.1.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npm@ckeditor/ckeditor5-markdown-gfm
Corregida 47.5.0 1288 d 49.1.0 no afectada
npm@ckeditor/ckeditor5-html-support
Corregida 47.5.0 1288 d 49.1.0 no afectada
npm@ckeditor/ckeditor5-html-embed
Corregida 47.5.0 1288 d 49.1.0 no afectada
Versiones corregidas35.0.147.5.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/ckeditor/ckeditor5/security/advisories/GHSA-42wq-rch8-6f6j
Fabricantehttps://ckeditor.com/docs/ckeditor5/latest/features/general-html-support.html
Fabricantehttps://ckeditor.com/docs/ckeditor5/latest/features/html-embed.html
Fabricantehttps://ckeditor.com/docs/ckeditor5/latest/features/markdown.html

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.