Prototype pollution in chart.js
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Tampering
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-915.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | chart.js | before 2.9.4 | 2.9.4 | Patch available | CNA |
| — | chart.js (npm) | before 2.9.4 | 2.9.4 | Patch available | GHSA-h68q-55jf-x68w |
- chart.js Vendor— Affected before 2.9.4 Fixed in 2.9.4 Patch available CNA
- chart.js (npm) Vendor— Affected before 2.9.4 Fixed in 2.9.4 Patch available GHSA-h68q-55jf-x68w
Remediation
- Fix · CNA chart.js Fixed in 2.9.4
- Fix · GHSA-h68q-55jf-x68w chart.js (npm) Fixed in 2.9.4 Advisory →
Red Hat 1 advisory
- RHSA-2022:6813 Released 2022-10-05 · Red Hat rating ImportantRed Hat Process Automation Manager 7.13.1 security update
- RHPAM 7.13.1 async
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| RHPAM 7.13.1 async | Fixed | RHSA-2022:6813 |
Timeline
- 2026-10-02 Threatist record created from CVE-2020-7746
- 2026-10-03 Alias added: GHSA-h68q-55jf-x68w
References
Sources
- CVE-2020-7746 · CVE Program
- CVE-2020-7746 · NVD
- FIRST EPSS
- GHSA-h68q-55jf-x68w · GitHub Advisory Database · CC BY 4.0
- CVE-2020-7746 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences