# CVE-2019-12732: Cross-site Scripting in Chartkick

Source: https://junglewise.ai/threats/cve-2019-12732-cross-site-scripting-in-chartkick  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2019-06-07  
License: CC BY 4.0 with a link back

CVE-2019-12732 · Severity: low · CVSS 3 · Published 2019-06-07

Cross-site Scripting in Chartkick

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

## Quick answers

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

**How severe is CVE-2019-12732?** Low severity, with a CVSS score of 3, published 7 June 2019.

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

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

**Am I affected by CVE-2019-12732?** 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.2.0 or later

  ```sh
  bundle update chartkick
  ```


## Affected products

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

## Identifiers

- CVE-2019-12732
- GHSA-g45g-g52h-39rg

## Related threats

- [CSS Injection in Chartkick gem](https://junglewise.ai/threats/cve-2020-16254-css-injection-in-chartkick-gem)
- [Chartkick prototype pollution](https://junglewise.ai/threats/cve-2019-18841-chartkick-prototype-pollution)
