CVE-2020-7746Chartjs Chart.js
Crítica 9.8 Sin autenticación
Seguir: esta CVE · Chartjs · Chartjs Chart.js Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 74
- CVSS 3.1
- 9.8
- EPSS
- 4.7% probabilidad de explotación en 30 días · percentil 93
- Requiere autenticación
- No
- Publicada
- 29 oct 2020
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-1321
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
This affects the package chart.js before 2.9.4. The options parameter is not properly sanitized when it is processed. When the options are processed, the existing options (or the defaults options) are deeply merged with provided options. However, during this operation, the keys of the object being set are not checked, leading to a prototype pollution.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Chart.js.
- 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 | chart.js |
< 2.9.4 |
2.9.4 |
npm install chart.js@2.9.4 |
Según OSV / GitHub Advisories (GHSA-h68q-55jf-x68w). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| chartjs | chart.js | < 2.9.4 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- snyk.io Exploit Third Party Advisory
- snyk.io Exploit Third Party Advisory
- snyk.io Exploit Third Party Advisory
- snyk.io Exploit Third Party Advisory