CVE-2019-12732: The Chartkick gem through 3.1.0 for Ruby allows XSS.
35
Routine
MEDIUM 4.7UPGRADE
CVE-2019-12732 is a medium-severity flaw (CVSS 4.7) affecting chartkick. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The Chartkick gem through 3.1.0 for Ruby allows XSS.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.7 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.8% (top 44%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2019-06-06 |
| Last modified | 2026-06-17 |
Publisher (CNA): MITRE · Vendor: chartkick project
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
chartkick project chartkick UPGRADE
Affected: <= 3.1.0
Fixed in: newer than 3.1.0
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy chartkick || rpm -q chartkick || chartkick --version
2. UPGRADE to newer than 3.1.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade chartkick
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade chartkick
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2019-12732?
chartkick: upgrade to newer than 3.1.0. Exact commands for each OS are on this page.
Is CVE-2019-12732 being exploited?
CVE-2019-12732 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2019-12732 affect?
CVE-2019-12732 affects chartkick. Severity is medium (CVSS 4.7). The Chartkick gem through 3.1.0 for Ruby allows XSS.
How urgent is CVE-2019-12732?
Priority 35/100. Public exploit reference
Software pages
Related CVEs
- CVE-2020-16254 MEDIUM 6.1 UPGRADE The Chartkick gem through 3.3.2 for Ruby allows Cascading Style Sheets (CSS) Injection (without attribute).