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

- Severity: Medium 4.7 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-06-06T14:54:18.000Z
- Modified: 2026-06-17T02:15:20.090Z
- Also known as: GHSA-g45g-g52h-39rg
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

The Chartkick gem through 3.1.0 for Ruby allows XSS.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- chartkick (RubyGems): before 3.2.0
- chartkick_project chartkick: up to 3.1.0

## Every score

- GitHub: CVSS:3.0 4.7 Medium `CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.0 4.7 Medium `CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 2.6 Low `AV:N/AC:H/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/ankane/chartkick/issues/488> (exploit, issue-tracking, third-party-advisory, web)
- <https://github.com/ankane/chartkick/blob/master/CHANGELOG.md> (release-notes, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-12732> (advisory)
- <https://github.com/ankane/chartkick> (package)

## Sources

- CVE List: [CVE-2019-12732](https://www.cve.org/CVERecord?id=CVE-2019-12732), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-g45g-g52h-39rg](https://github.com/advisories/GHSA-g45g-g52h-39rg), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2019-12732](https://nvd.nist.gov/vuln/detail/CVE-2019-12732), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-12732 · Whole record: https://cve.day/CVE-2019-12732.json · Rebuilt by cve.day 2026-11-25T22:57:45.117Z
