ADVISORIES

GitHub Advisory Database

GHSA-5pm8-492c-92p5

Prototype Pollution in chartkick

Details

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 packages

EcosystemPackageAffected versions
RubyGemschartkick
All versions before 3.3.0 (fixed in 3.3.0)
npmchartkick
From 3.1.0 before 3.2.0 (fixed in 3.2.0)

References