CVE-2020-16254
MEDIUM 6.1CVSS 3.1CSS Injection in Chartkick gem
The Chartkick gem through 3.3.2 for Ruby allows Cascading Style Sheets (CSS) Injection (without attribute).
- Published
- 5 Aug 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-74
- Also known as
- GHSA-3j95-fjv2-3m4p
- Sources
- NVDJSONOSV GHSA-3j95-fjv2-3m4pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | chartkick_project | chartkickcpe:2.3:a:chartkick_project:chartkick:*:*:*:*:*:ruby:*:* |
<= 3.3.2 | |
| OSV | RubyGems | chartkick | < 3.4.0 | 3.4.0 |
References
- https://github.com/ankane/chartkick · Third Party Advisory, PACKAGE
- https://github.com/ankane/chartkick/issues/546 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-16254 · ADVISORY
- https://github.com/ankane/chartkick/commit/ba67ab5e603de4d94676790fdac425f8199f1c4f · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/chartkick/CVE-2020-16254.yml · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 5 Aug 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Aug 2020)