CVE-2020-7746
mediumpriority · track · 41EPSS 0.047 · 92 %ileEUJPRUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-h68q-55jf-x68wPrototype pollution in chart.js2021-05-10ghsa · osvUS
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.
- JVNDB-2026-033235JVN iPedia advisory JVNDB-2026-0332352026-09-29vendor · jvndbJP
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (23)
External citations — patches, advisories, analysis.
- https://github.com/chartjs/Chart.js/pull/7920cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-7746cnnvd
- https://packetstormsecurity.com/files/168638/Red-Hat-Security-Advisory-2022-6813-01.htmlcnnvd
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1019375cnnvd
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCHARTJS-1019376cnnvd
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1019374cnnvd
- https://snyk.io/vuln/SNYK-JS-CHARTJS-1018716cnnvd
- https://us-cert.cisa.gov/ics/advisories/icsa-22-055-02cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan