# CVE-2020-16254: CSS Injection in Chartkick gem

Source: https://junglewise.ai/threats/cve-2020-16254-css-injection-in-chartkick-gem  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2020-08-12  
License: CC BY 4.0 with a link back

CVE-2020-16254 · Severity: low · CVSS 3.1 · Published 2020-08-12

CSS Injection in Chartkick gem

Technologies: [chartkick (RubyGems)](https://junglewise.ai/threats/technologies/chartkick). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2020-16254 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-16254 being exploited in the wild.

**How severe is CVE-2020-16254?** Low severity, with a CVSS score of 3.1, published 12 August 2020.

**Which products and versions are affected?** chartkick (RubyGems) ECOSYSTEM:introduced=0,fixed=3.4.0.

**Is there a fix for CVE-2020-16254?** Yes. chartkick (RubyGems): upgrade to 3.4.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-16254?** Check whether you run chartkick (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- chartkick (RubyGems): upgrade to 3.4.0 or later

  ```sh
  bundle update chartkick
  ```


## Affected products

- chartkick (RubyGems) ECOSYSTEM:introduced=0,fixed=3.4.0

## Identifiers

- CVE-2020-16254
- GHSA-3j95-fjv2-3m4p

## Related threats

- [Chartkick prototype pollution](https://junglewise.ai/threats/cve-2019-18841-chartkick-prototype-pollution)
- [Cross-site Scripting in Chartkick](https://junglewise.ai/threats/cve-2019-12732-cross-site-scripting-in-chartkick)
