Vulnerability library
Security checkJanuary 26, 2023

Prototype Pollution in chartkick

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmchartkick

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Affected versions of @polymer/polymer are vulnerable to prototype pollution. The package fails to prevent modification of object prototypes through chart options containing a payload such as {"__proto__": {"polluted": true}}. It is possible to achieve the same results if a chart loads data from a malicious server.

Recommendation

Update the chartkick package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 3.1.0, <= 3.1.3
  • Patched version(s): 3.2.0

References

Could your website be exposed too?

SmartScanner can check your website for Prototype Pollution in chartkick and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 26, 2023