logo

CVE-2020-7746 chart.js

Package

Manager: npm
Name: chart.js
Vulnerable Version: >=0 <2.9.4

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00155 pctl0.36866

Details

Prototype pollution in chart.js 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.

Metadata

Created: 2021-05-10T18:47:53Z
Modified: 2021-04-20T17:46:27Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-h68q-55jf-x68w/GHSA-h68q-55jf-x68w.json
CWE IDs: ["CWE-1321", "CWE-915"]
Alternative ID: GHSA-h68q-55jf-x68w
Finding: F390
Auto approve: 1