CVE-2020-7746

Prototype Pollution

Published Oct 29, 2020 CVSS 3.1 · 7.5 High EPSS 4.7% KEV · Not listed
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

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD 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 Github GHSA GHSA-h68q-55jf-x68w Prototype pollution in chart.js
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00155}

epss

{'score': 0.00169}

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 16, 2024, 7:25 PM
Reserved
Jan 21, 2020, 12:00 AM
Status
Modified
Published
Oct 29, 2020, 8:15 AM
Modified
Jun 17, 2026, 3:25 AM
Severity
Important
Public date
Oct 19, 2020, 12:00 AM