GitHub Advisory Database
GHSA-w46j-8hm6-h8mm
XSS in apexcharts
Details
The package apexcharts before 3.24.0 are vulnerable to Cross-site Scripting (XSS) via lack of sanitization of graph legend fields.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | apexcharts | All versions before 3.24.0 (fixed in 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