CVE-2020-16254
CSS Injection in Chartkick gem
The Chartkick gem through 3.3.2 for Ruby allows Cascading Style Sheets (CSS) Injection (without attribute).
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.1
The Chartkick gem through 3.3.2 for Ruby allows Cascading Style Sheets (CSS) Injection (without attribute).
- Record
CVE-2020-16254- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-74
- Updated
- 2026-11-02
CVE List No score
The Chartkick gem through 3.3.2 for Ruby allows Cascading Style Sheets (CSS) Injection (without attribute).
- Record
CVE-2020-16254- Updated
- 2026-11-02
EUVDEUVD-2020-0584 No score
The Chartkick gem through 3.3.2 for Ruby allows Cascading Style Sheets (CSS) Injection (without attribute).
- Record
EUVD-2020-0584- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-3j95-fjv2-3m4p
6.1
CSS Injection in Chartkick gem
The Chartkick gem through 3.3.2 for Ruby allows Cascading Style Sheets (CSS) Injection (without attribute).
- Record
GHSA-3j95-fjv2-3m4p- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-74
- Updated
- 2026-11-02
OSV
6.1
The Chartkick gem through 3.3.2 for Ruby allows Cascading Style Sheets (CSS) Injection (without attribute).
- Record
CVE-2020-16254- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVGHSA-3j95-fjv2-3m4p
6.1
CSS Injection in Chartkick gem
The Chartkick gem through 3.3.2 for Ruby allows Cascading Style Sheets (CSS) Injection (without attribute).
- Record
GHSA-3j95-fjv2-3m4p- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-74
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
chartkickRubyGems |
before 3.4.0 | 3.4.0 |
chartkickRubyGems |
before 3.4.0, plus listed versions 0.0.10.0.20.0.30.0.40.0.5 Show 45 moreShow less1.0.01.0.11.1.01.1.11.1.21.1.31.2.01.2.11.2.21.2.31.2.41.2.51.3.01.3.11.3.21.4.01.4.11.4.21.5.01.5.11.5.22.0.02.0.12.0.22.1.02.1.12.1.22.1.32.2.02.2.12.2.22.2.32.2.42.2.52.3.02.3.12.3.22.3.32.3.42.3.53.0.03.0.13.0.23.1.03.2.0 |
3.4.0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-16254 is a medium vulnerability (CVSS 6.1) in Chartkick Project Chartkick, published August 5, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.76%, the 55th percentile. Fixed in chartkick 3.4.0.
References
github.com/ankane/chartkick
github.com/ankane/chartkick/issues/546
nvd.nist.gov/vuln/detail/CVE-2020-16254
github.com/ankane/chartkick/commit/ba67ab5e603de4d94676790fdac425f8199f1c4f
github.com/rubysec/ruby-advisory-db/blob/master/gems/chartkick/CVE-2020-16254.yml
github.com/advisories/GHSA-3j95-fjv2-3m4p
Left out here: 5 versions. The JSON record has them.