CVE-2021-23327 json
Cross-site Scripting (XSS)
published 2021-02-09 5 y ago modified 2026-06-17 4 mo ago also GHSA-w46j-8hm6-h8mm , EUVD-2021-0572
- cvss
- 6.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
The package apexcharts before 3.24.0 are vulnerable to Cross-site Scripting (XSS) via lack of sanitization of graph legend fields.
Patch / fix
Exploit prediction
1.39% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/apexcharts/apexcharts.js/pull/2158 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O |
| CNA | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | apexcharts | <3.24.0 |
3.24.0 |
Affected products
- n/a apexcharts
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/apexcharts/apexcharts.js/commit/68f3f34d125719b4767614fe0a595cc65bde1d19
web, patch, third-party-advisory
-
github.com
/apexcharts/apexcharts.js/pull/2158
web, exploit, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-APEXCHARTS-1062708
web, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-1070616
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-23327
advisory
-
npmjs.com
/package/apexcharts
web
Sources
- CVE List CVE-2021-23327
- GitHub Advisory GHSA-w46j-8hm6-h8mm
- NVD CVE-2021-23327
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.