Skip to main content
← All vulnerabilities
CVE-2020-7746GHSA-H68Q-55JF-X68W

Prototype Pollution

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.9.4
None on Exploit-DB, Metasploit or GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a chart.js

    fixed in 2.9.4

  • chart.jsnpm

    fixed in 2.9.4

References 5

snyk.io

GitHub · chartjs/Chart.js