{"id":"CVE-2020-7746","published":"2020-10-29T08:05:17Z","modified":"2024-09-16T19:25:49Z","title":"Prototype Pollution","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:U/RC:C","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04735,"percentile":0.92067,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-CHARTJS-1018716","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1019374","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1019375","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCHARTJS-1019376","tags":["x_refsource_MISC"]},{"url":"https://github.com/chartjs/Chart.js/pull/7920","tags":["x_refsource_MISC"]}],"priority":{"score":23.7,"factors":[{"name":"EPSS percentile","points":18.41},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"chart.js","versions":[">= unspecified, < 2.9.4"]}],"affected":[{"ecosystem":"npm","package":"chart.js","vulnerableRanges":["<2.9.4"],"patched":["2.9.4"],"from":["GHSA-h68q-55jf-x68w"],"provenance":"source"}],"summary":{"text":"The flaw is a prototype pollution weakness in the chart.js npm package before version 2.9.4, where the options parameter is not sanitized and its keys are not checked during the deep merge of provided options with existing or default options. An attacker who can supply options to chart.js can pollute object prototypes over the network with no privileges and no user interaction, and the impact is availability-only per the attack vector metadata.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:39:07Z"},"euvd":{"id":"EUVD-2021-1096","exploited":false,"provenance":"source"}}