{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "3.3.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "c1437a23a7c7a7f7975aee35ca8e7d6f6f89f6a3"
            }
          ],
          "repo": "https://github.com/ankane/chartkick",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "The Chartkick gem through 3.3.2 for Ruby allows Cascading Style Sheets (CSS) Injection (without attribute).",
  "id": "CVE-2020-16254",
  "modified": "2026-03-13T21:49:07.120900418Z",
  "published": "2020-08-05T20:15:14.740Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/ankane/chartkick"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/ankane/chartkick/issues/546"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}