# CVE-2021-23327: Cross-site Scripting (XSS)

- Severity: Medium 6.3 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.39%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-02-09T08:10:16.850Z
- Modified: 2026-06-17T03:38:33.827Z
- Also known as: GHSA-w46j-8hm6-h8mm
- Weaknesses: CWE-79
- Assigned by: snyk

## Description

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

(As written by CVE List.)

## Affected

- apexcharts: from unspecified before 3.24.0
- apexcharts (npm): before 3.24.0
- fusioncharts apexcharts: before 3.24.0

## Every score

- snyk: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O`
- GitHub: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/apexcharts/apexcharts.js/pull/2158> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JS-APEXCHARTS-1062708> (third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1070616> (third-party-advisory, web)
- <https://github.com/apexcharts/apexcharts.js/commit/68f3f34d125719b4767614fe0a595cc65bde1d19> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23327> (advisory)
- <https://www.npmjs.com/package/apexcharts> (web)

## Sources

- CVE List: [CVE-2021-23327](https://www.cve.org/CVERecord?id=CVE-2021-23327), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-w46j-8hm6-h8mm](https://github.com/advisories/GHSA-w46j-8hm6-h8mm), CC-BY-4.0, modified 2025-01-14
- NVD: [CVE-2021-23327](https://nvd.nist.gov/vuln/detail/CVE-2021-23327), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-23327 · Whole record: https://cve.day/CVE-2021-23327.json · Rebuilt by cve.day 2026-11-25T22:57:59.854Z
