# CVE-2020-7746: Prototype Pollution

- Severity: High 7.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:U/RC:C`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.74%, higher than 92% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 4 links below, marked "exploit"
- Published: 2020-10-29T08:05:17.720Z
- Modified: 2026-06-17T03:25:22.310Z
- Also known as: GHSA-h68q-55jf-x68w
- Weaknesses: CWE-915, CWE-1321
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- chart.js: from unspecified before 2.9.4
- chart.js (npm): before 2.9.4
- chartjs chart.js: before 2.9.4

## Every score

- snyk: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:U/RC:C`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-CHARTJS-1018716> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1019374> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1019375> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCHARTJS-1019376> (exploit, third-party-advisory, web)
- <https://github.com/chartjs/Chart.js/pull/7920> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7746> (advisory)

## Sources

- CVE List: [CVE-2020-7746](https://www.cve.org/CVERecord?id=CVE-2020-7746), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-h68q-55jf-x68w](https://github.com/advisories/GHSA-h68q-55jf-x68w), CC-BY-4.0, modified 2025-01-14
- NVD: [CVE-2020-7746](https://nvd.nist.gov/vuln/detail/CVE-2020-7746), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-7746 · Whole record: https://cve.day/CVE-2020-7746.json · Rebuilt by cve.day 2026-11-25T22:57:55.503Z
