cve.bz

CVE-2020-7746

9.8 criticalEPSS 4.7%

Critical (9.8) in chartjs chart.js. EPSS 4.7% chance of exploitation in the next 30 days. Fixed in chart.js 2.9.4.

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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
4.7% chance of exploitation in the next 30 days; higher than 91% of CVEs (scores of 2026-10-31)
CWE
CWE-1321
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-h68q-55jf-x68wnpmchart.js<2.9.42.9.4

References

Check your stackJSON