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
- Prototype Pollution in mout (GHSA-pc58-wgmc-hfjr) - CVE-2020-7792
- Prototype pollution in gsap - CVE-2020-28478
- TypeORM vulnerable to MAID and Prototype Pollution - CVE-2020-8158
- shvl vulnerable to prototype pollution - CVE-2020-28278
- Tags:
- npm
- chart.js
Anything's wrong? Let us know Last updated on January 27, 2023