
CVE catalog
CVE-2020-7746
node-chart.js: CVE-2020-7746
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 4.74% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-chart.js | sid | 3.9.1+~cs3.1.2-4 | fixed |
| Debian | node-chart.js | forky | 3.9.1+~cs3.1.2-4 | fixed |
| Debian | node-chart.js | trixie | 3.9.1+~cs3.1.2-3 | fixed |
| Debian | node-chart.js | bookworm | 3.9.1+~0.2.1-2 | fixed |
| Ubuntu | node-chart.js | 20.04 | 2.7.3+dfsg-5 | vulnerable |
| Ubuntu | node-chart.js | 20.04 | 2.9.3+dfsg-1 | vulnerable |
| Ubuntu | node-chart.js | 20.04 | 2.9.3+dfsg-2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-chart.js | source | sid | 2.9.4+dfsg+~cs2.10.1-1 | not yet assigned | Not reported | Not reported |
| Debian | node-chart.js | source | forky | 2.9.4+dfsg+~cs2.10.1-1 | not yet assigned | Not reported | Not reported |
| Debian | node-chart.js | source | trixie | 2.9.4+dfsg+~cs2.10.1-1 | not yet assigned | Not reported | Not reported |
| Debian | node-chart.js | source | bookworm | 2.9.4+dfsg+~cs2.10.1-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libjs-chart.js]Fixed
Source package: [node-chart.js]
Details (2)
3.9.1+~0.2.1-2· all · bookwormFixed · Fixed:
2.9.4+dfsg+~cs2.10.1-1dsa · node-chart.js · debian · bookworm; dsa · node-chart.js · debian · 12
3.9.1+~0.2.1-2· all · bookwormFixed · Fixed:
2.9.4+dfsg+~cs2.10.1-1dsa · node-chart.js · debian · bookworm; dsa · node-chart.js · debian · 12
- [node-chart.js]Fixed
Details (2)
3.9.1+~0.2.1-2· all · bookwormFixed · Fixed:
2.9.4+dfsg+~cs2.10.1-1dsa · node-chart.js · debian · bookworm; dsa · node-chart.js · debian · 12
3.9.1+~0.2.1-2· all · bookwormFixed · Fixed:
2.9.4+dfsg+~cs2.10.1-1dsa · node-chart.js · debian · bookworm; dsa · node-chart.js · debian · 12
[Debian 13 (Trixie)]
- [libjs-chart.js]Fixed
Source package: [node-chart.js]
Details (2)
3.9.1+~cs3.1.2-3· all · trixieFixed · Fixed:
2.9.4+dfsg+~cs2.10.1-1dsa · node-chart.js · debian · 13
3.9.1+~cs3.1.2-3· all · trixieFixed · Fixed:
2.9.4+dfsg+~cs2.10.1-1dsa · node-chart.js · debian · 13
- [node-chart.js]Fixed
Details (2)
3.9.1+~cs3.1.2-3· all · trixieFixed · Fixed:
2.9.4+dfsg+~cs2.10.1-1dsa · node-chart.js · debian · 13
3.9.1+~cs3.1.2-3· all · trixieFixed · Fixed:
2.9.4+dfsg+~cs2.10.1-1dsa · node-chart.js · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2020-7746]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2020-7746]
- [https://security-tracker.debian.org/tracker/CVE-2020-7746]
- [https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-7746.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]