org.webjars.bowergithub.chartjs:chart.js@2.9.3 vulnerabilities

  • latest version

    4.0.1

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    a year ago

  • licenses detected

  • package manager

Direct Vulnerabilities

Known vulnerabilities in the org.webjars.bowergithub.chartjs:chart.js package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Prototype Pollution

org.webjars.bowergithub.chartjs:chart.js is a Simple HTML5 charts using the canvas element.

Affected versions of this package are vulnerable to Prototype Pollution. 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.

How to fix Prototype Pollution?

Upgrade org.webjars.bowergithub.chartjs:chart.js to version 2.9.4 or higher.

[,2.9.4)