Every CVE Search/ Get API key

CVE-2020-16254

CSS Injection in Chartkick gem

6.1 MediumFix available

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

0.76%Up 0.1 points since Apr 14, 2021
90%50%10%1%

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 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 2.0
4.3 MediumAV: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
chartkick
RubyGems
before 3.4.0
3.4.0
chartkick
RubyGems
before 3.4.0, plus listed versions
0.0.10.0.20.0.30.0.40.0.5
Show 45 moreShow less
1.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

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

This page doesn't list everything

Left out here: 5 versions. The JSON record has them.

MoveEnter Open