XSS in apexcharts
The package apexcharts before 3.24.0 are vulnerable to Cross-site Scripting (XSS) via lack of sanitization of graph legend fields.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | apexcharts | < 3.24.0 | 3.24.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23327
- https://github.com/apexcharts/apexcharts.js/pull/2158
- https://github.com/apexcharts/apexcharts.js/commit/68f3f34d125719b4767614fe0a595cc65bde1d19
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1070616
- https://snyk.io/vuln/SNYK-JS-APEXCHARTS-1062708
- https://www.npmjs.com/package/apexcharts
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L- Weakness (CWE)
CWE-79- Platform
- npm
- Package
apexcharts- Disclosed
- 11.02.2021
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-w46j-8hm6-h8mm - CC BY 4.0
Vulnerability history: apexcharts
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.