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. However, during this operation, the keys of the object being set are not checked, leading to a prototype pollution.
Remediation
References
Related Vulnerabilities
Oracle Application Server CVE-2006-0291 Vulnerability (CVE-2006-0291)
WordPress Plugin MDC Private Message Cross-Site Scripting (1.0.0)
WordPress Improper Input Validation Vulnerability (CVE-2008-5695)
WordPress Plugin YouTube Embed Cross-Site Scripting (5.0.1)
Roundcube Files or Directories Accessible to External Parties Vulnerability (CVE-2017-16651)