Skip to content
Heist/ feed
Back to feed
CriticalFix available

node-chart.js — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2020-7746

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.

Products
node-chart.js
Affected versions
Not specified
Fixed versions
2.9.4+dfsg+~cs2.10.1-1
CVEs
CVE-2020-7746
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 13:52 UTC · Revision 1

Source evidence

DEBIAN-CVE-2020-7746

core-osv · Original source

Published 29 Oct 2020, 08:15 UTC

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.

osv:DEBIAN-CVE-2020-7746

node-chart.js

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

node-chart.js

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

node-chart.js

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

Complete source record
{
  "id": "266ff237507af542e41bfbe151d21c4db5346dcf56935944c9c1d46c0efcde9a",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-7746",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2020-7746",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2020-7746",
    "products": [
      {
        "name": {
          "value": "node-chart.js",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.9.4+dfsg+~cs2.10.1-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "node-chart.js",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.9.4+dfsg+~cs2.10.1-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "node-chart.js",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.9.4+dfsg+~cs2.10.1-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2020-7746",
      "aliases": [
        "DEBIAN-CVE-2020-7746"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.9.4+dfsg+~cs2.10.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "node-chart.js",
            "purl": "pkg:deb/debian/node-chart.js?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-7746.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.9.4+dfsg+~cs2.10.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "node-chart.js",
            "purl": "pkg:deb/debian/node-chart.js?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-7746.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.9.4+dfsg+~cs2.10.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "node-chart.js",
            "purl": "pkg:deb/debian/node-chart.js?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-7746.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T12:02:45.681923849Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-7746"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2020-7746"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-7746",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 452947,
  "published_at": "2020-10-29T08:15:12.007+00:00"
}