CVE-2021-39199Remark-html
Media 6.1 Sin autenticación
Seguir: esta CVE · Remark · Remark-html Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.1% probabilidad de explotación en 30 días · percentil 65
- Requiere autenticación
- No
- Publicada
- 7 sep 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
remark-html is an open source nodejs library which compiles Markdown to HTML. In affected versions the documentation of remark-html has mentioned that it was safe by default. In practice the default was never safe and had to be opted into. That is, user input was not sanitized. This means arbitrary HTML can be passed through leading to potential XSS attacks. The problem has been patched in 13.0.2 and 14.0.1: `remark-html` is now safe by default, and the implementation matches the documentation. On older affected versions, pass `sanitize: true` if you cannot update.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Remark-html.
- 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 | remark-html |
< 13.0.2 |
13.0.2 |
npm install remark-html@13.0.2 |
| npm | remark-html |
≥ 14.0.0 < 14.0.1 |
14.0.1 |
npm install remark-html@14.0.1 |
Según OSV / GitHub Advisories (GHSA-9q5w-79cv-947m). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| remark | remark-html | < 13.0.2 |
| remark | remark-html | ≥ 14.0.0 < 14.0.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Patch Release Notes Third Party Advisory
- github.com Patch Third Party Advisory
- www.npmjs.com Product Third Party Advisory