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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2021-1096 | 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. |
Github GHSA |
GHSA-h68q-55jf-x68w | Prototype pollution in chart.js |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 16 Jul 2025 13:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
Status: PUBLISHED
Assigner: snyk
Published:
Updated: 2024-09-16T19:25:49.326Z
Reserved: 2020-01-21T00:00:00
Link: CVE-2020-7746
No data.
Status : Modified
Published: 2020-10-29T08:15:12.007
Modified: 2024-11-21T05:37:43.483
Link: CVE-2020-7746
OpenCVE Enrichment
No data.
EUVD
Github GHSA