{"id":"CVE-2019-18841","aliases":["EUVD-2019-0780","GHSA-5pm8-492c-92p5"],"status":"published","title":"Prototype Pollution in chartkick","description":"Chartkick.js 3.1.0 through 3.1.3, as used in the Chartkick gem before 3.3.0 for Ruby, allows prototype pollution.","severity":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01391,"percentile":0.72532,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2019-11-11T00:05:37Z","modified":"2026-10-20T10:50:51Z","fixes":[{"ecosystem":"RubyGems","package":"chartkick","fixed_in":["3.3.0"],"sources":["ghsa","osv"]},{"ecosystem":"npm","package":"chartkick","fixed_in":["3.2.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"chartkick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0"}]}]},{"source":"ghsa","ecosystem":"npm","package":"chartkick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.0"},{"last_affected":"3.1.3"},{"fixed":"3.2.0"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"chartkick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","1.0.0","1.0.1","1.1.0","1.1.1","1.1.2","1.1.3","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.3.0","1.3.1","1.3.2","1.4.0","1.4.1","1.4.2","1.5.0","1.5.1","1.5.2","2.0.0","2.0.1","2.0.2","2.1.0","2.1.1","2.1.2","2.1.3","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","3.0.0","3.0.1","3.0.2","3.1.0","3.2.0","3.2.1","3.2.2"]},{"source":"osv","ecosystem":"npm","package":"chartkick","ranges":[{"type":"SEMVER","events":[{"introduced":"3.1.0"},{"fixed":"3.2.0"}]}]}],"products":[{"vendor":"chartkick","product":"chartkick.js"}],"references":[{"url":"https://rubygems.org/gems/chartkick/","tags":["x_refsource_MISC","x_transferred","Product","Release Notes","advisory"]},{"url":"https://github.com/ankane/chartkick/commits/master","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://chartkick.com","tags":["x_refsource_MISC","x_transferred","Product","web"]},{"url":"https://github.com/ankane/chartkick/blob/master/CHANGELOG.md","tags":["x_refsource_MISC","x_transferred","Product","Release Notes","advisory","web"]},{"url":"https://github.com/ankane/chartkick/commit/b810936bbf687bc74c5b6dba72d2397a399885fa","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix","web"]},{"url":"https://github.com/ankane/chartkick.js/issues/117","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-18841","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/chartkick/CVE-2019-18841.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-5pm8-492c-92p5"},{"url":"https://rubygems.org/gems/chartkick","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2019-18841","description":"Chartkick.js 3.1.0 through 3.1.3, as used in the Chartkick gem before 3.3.0 for Ruby, allows prototype pollution.","status":"published","published":"2019-11-11T00:05:37Z","modified":"2024-08-05T02:02:39.85Z","updated_at":"2026-11-02T14:32:23.803059Z"}],"euvd":[{"id":"EUVD-2019-0780","description":"Chartkick.js 3.1.0 through 3.1.3, as used in the Chartkick gem before 3.3.0 for Ruby, allows prototype pollution.","status":"published","published":"2019-11-11T00:05:37Z","modified":"2024-08-05T02:02:39Z","updated_at":"2026-11-03T02:40:27.303586Z"}],"ghsa":[{"id":"GHSA-5pm8-492c-92p5","title":"Prototype Pollution in chartkick","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.\n\n\n## Recommendation\n\nUpgrade to version 3.2.0 or later.","status":"published","published":"2019-12-02T18:04:11Z","modified":"2023-01-26T20:24:43Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T14:36:14.825433Z"}],"nvd":[{"id":"CVE-2019-18841","description":"Chartkick.js 3.1.0 through 3.1.3, as used in the Chartkick gem before 3.3.0 for Ruby, allows prototype pollution.","status":"published","published":"2019-11-11T01:15:10.353Z","modified":"2026-06-17T02:25:26.957Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:05:35.052973Z"}],"osv":[{"id":"CVE-2019-18841","description":"Chartkick.js 3.1.0 through 3.1.3, as used in the Chartkick gem before 3.3.0 for Ruby, allows prototype pollution.","status":"published","published":"2019-11-11T01:15:10.353Z","modified":"2026-10-20T10:50:51.387843628Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T15:44:11.673963Z"},{"id":"GHSA-5pm8-492c-92p5","title":"Prototype Pollution in chartkick","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.\n\n\n## Recommendation\n\nUpgrade to version 3.2.0 or later.","status":"published","published":"2019-12-02T18:04:11Z","modified":"2024-12-04T05:31:46.722797Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T15:46:38.553953Z"}]}}
