llamaCVEVulnerability Intelligence
/
joplin

CVE-2023-38506

Cross-site Scripting (XSS) when pasting HTML into the rich text editor in Joplin

Specific setups onlyParche disponible
Descargar PNG JSON
CVSS 3.1
8.2
Alta
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L Fuente: CNA
5.4NVD · CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión2.12.10
Exposición880 dDesde la divulgación, 21 jun 2024, 2:43 p. m.
Detección864 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Remediación
Monitoreo
Detectada
Fuente: OSV +1
21 jun 24
24 jun 24
2 ago 24
3 nov 26
19 nov 26
21 jun 24
27 ene 25
5 sept 25
13 abr 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2023-38506 divulgada · CVSS 8.2 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Joplin is a free, open source note taking and to-do application. A Cross-site Scripting (XSS) vulnerability allows pasting untrusted data into the rich text editor to execute arbitrary code. HTML pasted into the rich text editor is not sanitized (or not sanitized properly). As such, the `onload` attribute of pasted images can execute arbitrary code. Because the TinyMCE editor frame does not use the `sandbox` attribute, such scripts can access NodeJS's `require` through the `top` variable. From this, an attacker can run arbitrary commands. This issue has been addressed in version 2.12.10 and users are advised to upgrade. There are no known workarounds for this vulnerability.

Affects Joplin's rich text editor when untrusted HTML is pasted into it. Fixed in Joplin 2.12.10.

¿Qué significa?HTML pasted into the rich text editor is not sanitized, so scripts can run inside the editor. Those scripts can reach NodeJS require through the top variable and run arbitrary commands.
¿Quién está afectado?The fixed version is 2.12.10, so earlier Joplin versions are affected. The affected setup involves pasting untrusted HTML into the rich text editor. To check an installed version, compare it against 2.12.10.
¿Qué hacer?Upgrade Joplin to version 2.12.10 or later.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Untrusted HTML pasted into the rich text editor“HTML pasted into the rich text editor is not sanitized”
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:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:R
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:L
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
joplin< 2.12.10
2.12.10
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
joplin
Corregida 2.12.10 — —
Versiones corregidas2.12.10
Explotación

Arsenal público

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

Referencias
Fabricantehttps://github.com/laurent22/joplin/security/advisories/GHSA-m59c-9rrj-c399

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