CVE-2019-18841 — Prototype Pollution in chartkick — CVE Details
HIGH
Prototype Pollution in chartkick
Published December 2, 2019Updated December 4, 2024Source: osv
Summary
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.
Advisory Timeline
- First published December 2, 2019 (2506 days ago).
- Last revised December 4, 2024 — 1828 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm
Update chartkick to 3.2.0 or laternpm install chartkick@3.2.0
Bundler
Update chartkick to 3.3.0 or latergem install chartkick -v 3.3.0
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 2 ecosystems: npm (1), rubygems (1).
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.3 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-18841ADVISORY
- https://github.com/ankane/chartkick.js/issues/117WEB
- https://github.com/ankane/chartkick/commit/b810936bbf687bc74c5b6dba72d2397a399885faWEB
- https://chartkick.comWEB
- https://github.com/ankane/chartkick/blob/master/CHANGELOG.mdWEB
- https://github.com/ankane/chartkick/commits/masterWEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/chartkick/CVE-2019-18841.ymlWEB
- https://rubygems.org/gems/chartkickWEB
Frequently Asked Questions
- What is CVE-2019-18841?
- Prototype Pollution in chartkick This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.3/10).
- How do I check if my project is affected by CVE-2019-18841?
- CVE-2019-18841 affects chartkick. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2019-18841 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
7.3
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
GHSA-5pm8-492c-92p5
Related CVEs
- CVE-2026-107375HIGH
JHipster: SQL Injection in the Parameter of JHipster-Generated Reactive (WebFlux + R2DBC) Applicationssort
- CVE-2026-107384HIGH
MariaDB Connector/Node.js: SQL injection through object keys in SET expansion (permitSetMultiParamEntries)
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies