CVE-2020-7746

Prototype Pollution

CRITICAL
9.8
CVSS Score
Published: October 29, 2020 at 08:05 AM UTC
Updated: June 17, 2026 at 03:25 AM UTC
1 product affected across 1 vendorChartjs

Using chart.js by N/A?

Get instant alerts when new vulnerabilities affect chart.js - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
CRITICAL9.8
Exploit prediction
EPSS 5%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.9.4
Affected range stops below 2.9.4, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (5)

x_refsource_MISCPatchThird Party Advisory
https://github.com/chartjs/Chart.js/pull/7920
x_refsource_MISCExploitThird Party Advisory
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1019375
x_refsource_MISCExploitThird Party Advisory
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1019374
x_refsource_MISCExploitThird Party Advisory
https://snyk.io/vuln/SNYK-JS-CHARTJS-1018716

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-1321

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card