GHSA-5pm8-492c-92p5HighCVSS 7.3

Prototype Pollution in chartkick

Published
December 2, 2019
Last Modified
January 26, 2023

🔗 CVE IDs covered (1)

📋 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

Upgrade to version 3.2.0 or later.

🎯 Affected products2

  • rubygems/chartkick:< 3.3.0
  • npm/chartkick:>= 3.1.0, <= 3.1.3

🔗 References (9)