Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-23327

The package apexcharts before 3.24.0 are vulnerable to Cross-site Scripting (XSS) via lack of sanitization of graph legend fields.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-23327
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:02 UTC · Revision 1

Source evidence

CVE-2021-23327

core-osv · Original source

Published 9 Feb 2021, 08:15 UTC

The package apexcharts before 3.24.0 are vulnerable to Cross-site Scripting (XSS) via lack of sanitization of graph legend fields.

osv:CVE-2021-23327
Complete source record
{
  "id": "85fbe3fed2766382af22d7556c76da948f45dc71fb5c56ffdb3607c1bed509d4",
  "url": "https://osv.dev/vulnerability/CVE-2021-23327",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-23327",
    "summary": "The package apexcharts before 3.24.0 are vulnerable to Cross-site Scripting (XSS) via lack of sanitization of graph legend fields.",
    "evidence": "osv:CVE-2021-23327",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-23327",
      "aliases": [
        "CVE-2021-23327",
        "GHSA-w46j-8hm6-h8mm"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apexcharts/apexcharts.js",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "68f3f34d125719b4767614fe0a595cc65bde1d19"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "68f3f34d125719b4767614fe0a595cc65bde1d19"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.23.1",
            "v3.23.0",
            "v3.22.3",
            "v3.22.2",
            "3.22.1",
            "3.22.0",
            "3.21.0",
            "v3.20.2",
            "v3.20.0",
            "v3.19.3",
            "v3.19.2",
            "v3.19.1",
            "v3.19.0",
            "v3.18.1",
            "v3.18.0",
            "v3.17.1",
            "v3.17.0",
            "v3.16.1",
            "v3.16.0",
            "v3.15.6",
            "v3.15.5",
            "v3.15.4",
            "v3.15.3",
            "v3.15.2",
            "v3.15.1",
            "v3.15.0",
            "v3.14.0",
            "v3.13.2",
            "v3.13.1",
            "v3.13.0",
            "v3.12.0",
            "v3.11.3",
            "v3.11.2",
            "v3.11.1",
            "v3.11.0",
            "v3.10.1",
            "3.10.0",
            "3.9.0",
            "3.8.6",
            "v3.8.5",
            "v3.8.4",
            "v3.8.3",
            "v3.8.2",
            "v3.8.1",
            "v3.8.0",
            "v3.7.1",
            "v3.7.0",
            "v3.6.12",
            "v3.6.11",
            "v3.6.10",
            "v3.6.9",
            "v3.6.8",
            "v3.6.7",
            "v3.6.5",
            "v3.6.4",
            "v3.6.2",
            "v3.6.1",
            "v3.6.0",
            "v3.5.1",
            "v3.5.0",
            "v3.4.1",
            "v3.4.0",
            "v3.3.1",
            "v3.3.0",
            "v3.2.2",
            "v3.2.1",
            "v3.2.0",
            "v3.1.0",
            "3.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23327.json"
          }
        }
      ],
      "modified": "2026-10-20T10:55:07.885226103Z",
      "provider": "osv",
      "references": [
        "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1070616",
        "https://snyk.io/vuln/SNYK-JS-APEXCHARTS-1062708",
        "https://github.com/apexcharts/apexcharts.js/commit/68f3f34d125719b4767614fe0a595cc65bde1d19",
        "https://github.com/apexcharts/apexcharts.js/pull/2158"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:fusioncharts:apexcharts:*:*:*:*:*:node.js:*:*"
            ],
            "vendor_product": "fusioncharts:apexcharts",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "3.24.0"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "3.24.0"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-23327",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386938,
  "published_at": "2021-02-09T08:15:11.167+00:00"
}