Description
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.
Recommendation
Update the chart.js package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.9.4
- Patched version(s): 2.9.4
References
Related Issues
- eivindfjeldstad-dot contains prototype pollution vulnerability - CVE-2020-7639
- Prototype Pollution in lodash - lodash-es - CVE-2020-8203
- Prototype Pollution in lodash - lodash - GHSA-p6mc-m468-83gw - CVE-2020-8203
- Prototype Pollution in decal - decal - CVE-2020-28449
You might also like:
- Tags:
- npm
- chart.js
Anything's wrong? Let us know Last updated on January 27, 2023


