Amenazas en vivo

Todas las CVE / Paste-markdown Project

CVE-2021-37700Paste-markdown Project Paste-markdown

Media 6.1 Sin autenticación

Prioridad
52
CVSS 3.1
6.1
EPSS
1.7%
probabilidad de explotación en 30 días · percentil 77
Requiere autenticación
No
Publicada
12 ago 2021
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Qué pasa

@github/paste-markdown is an npm package for pasting markdown objects. A self Cross-Site Scripting vulnerability exists in the @github/paste-markdown before version 0.3.4. If the clipboard data contains the string `<table>`, a **div** is dynamically created, and the clipboard content is copied into its **innerHTML** property without any sanitization, resulting in improper execution of JavaScript in the browser of the victim (the user who pasted the code). Users directed to copy text from a malicious website and paste it into pages that utilize this library are affected. This is fixed in version 0.3.4. Refer the to the referenced GitHub Advisory for more details including an example exploit.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Paste-markdown.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
npm @github/paste-markdown < 0.3.4 0.3.4 npm install @github/paste-markdown@0.3.4

Según OSV / GitHub Advisories (GHSA-gpfj-4j6g-c4w9). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
paste-markdown_projectpaste-markdown< 0.3.4

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.