CVE catalog

CVE-2020-7746

node-chart.js: CVE-2020-7746

[CVE catalog]

Severity
High · CVSS 7.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debiannode-chart.jssid3.9.1+~cs3.1.2-4fixed
Debiannode-chart.jsforky3.9.1+~cs3.1.2-4fixed
Debiannode-chart.jstrixie3.9.1+~cs3.1.2-3fixed
Debiannode-chart.jsbookworm3.9.1+~0.2.1-2fixed
Ubuntunode-chart.js20.042.7.3+dfsg-5vulnerable
Ubuntunode-chart.js20.042.9.3+dfsg-1vulnerable
Ubuntunode-chart.js20.042.9.3+dfsg-2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-chart.jssourcesid2.9.4+dfsg+~cs2.10.1-1not yet assignedNot reportedNot reported
Debiannode-chart.jssourceforky2.9.4+dfsg+~cs2.10.1-1not yet assignedNot reportedNot reported
Debiannode-chart.jssourcetrixie2.9.4+dfsg+~cs2.10.1-1not yet assignedNot reportedNot reported
Debiannode-chart.jssourcebookworm2.9.4+dfsg+~cs2.10.1-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [node-chart.js]

    Details (2)
    • 3.9.1+~0.2.1-2 · all · bookworm

      Fixed · Fixed: 2.9.4+dfsg+~cs2.10.1-1

      dsa · node-chart.js · debian · bookworm; dsa · node-chart.js · debian · 12

    • 3.9.1+~0.2.1-2 · all · bookworm

      Fixed · Fixed: 2.9.4+dfsg+~cs2.10.1-1

      dsa · node-chart.js · debian · bookworm; dsa · node-chart.js · debian · 12

  • Details (2)
    • 3.9.1+~0.2.1-2 · all · bookworm

      Fixed · Fixed: 2.9.4+dfsg+~cs2.10.1-1

      dsa · node-chart.js · debian · bookworm; dsa · node-chart.js · debian · 12

    • 3.9.1+~0.2.1-2 · all · bookworm

      Fixed · Fixed: 2.9.4+dfsg+~cs2.10.1-1

      dsa · node-chart.js · debian · bookworm; dsa · node-chart.js · debian · 12

[Debian 13 (Trixie)]

  • Source package: [node-chart.js]

    Details (2)
    • 3.9.1+~cs3.1.2-3 · all · trixie

      Fixed · Fixed: 2.9.4+dfsg+~cs2.10.1-1

      dsa · node-chart.js · debian · 13

    • 3.9.1+~cs3.1.2-3 · all · trixie

      Fixed · Fixed: 2.9.4+dfsg+~cs2.10.1-1

      dsa · node-chart.js · debian · 13

  • Details (2)
    • 3.9.1+~cs3.1.2-3 · all · trixie

      Fixed · Fixed: 2.9.4+dfsg+~cs2.10.1-1

      dsa · node-chart.js · debian · 13

    • 3.9.1+~cs3.1.2-3 · all · trixie

      Fixed · Fixed: 2.9.4+dfsg+~cs2.10.1-1

      dsa · node-chart.js · debian · 13

Observed:

References