Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
chart.jsunspecified – < 2.9.42.9.4CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
snyk (CNA)7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:U/RC:C

References

refsnyk.io/vuln/SNYK-JS-CHARTJS-1018716refsnyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1019374refsnyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1019375refsnyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCHARTJS-1019376refgithub.com/chartjs/Chart.js/pull/7920