Todas las CVE / Paste-markdown Project
CVE-2021-37700Paste-markdown Project Paste-markdown
Media 6.1 Sin autenticación
Seguir: esta CVE · Paste-markdown Project · Paste-markdown Project Paste-markdown Te avisamos por email o Slack (requiere cuenta).
- 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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Paste-markdown.
- 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 | @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)
| Fabricante | Producto | Versiones |
|---|---|---|
| paste-markdown_project | paste-markdown | < 0.3.4 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Exploit Third Party Advisory
- www.npmjs.com