{"id":"CVE-2021-23327","aliases":["EUVD-2021-0572","GHSA-w46j-8hm6-h8mm"],"status":"published","title":"Cross-site Scripting (XSS)","description":"The package apexcharts before 3.24.0 are vulnerable to Cross-site Scripting (XSS) via lack of sanitization of graph legend fields.","severity":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.01387,"percentile":0.72642,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2021-02-09T08:10:16Z","modified":"2026-10-20T10:55:07Z","fixes":[{"ecosystem":"npm","package":"apexcharts","fixed_in":["3.24.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"apexcharts","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.24.0"}]}]},{"source":"osv","ecosystem":"npm","package":"apexcharts","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.24.0"}]}]}],"products":[{"vendor":"fusioncharts","product":"apexcharts"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-APEXCHARTS-1062708","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1070616","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/apexcharts/apexcharts.js/commit/68f3f34d125719b4767614fe0a595cc65bde1d19","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/apexcharts/apexcharts.js/pull/2158","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23327","tags":["advisory"]},{"url":"https://www.npmjs.com/package/apexcharts","tags":["web"]},{"url":"https://github.com/advisories/GHSA-w46j-8hm6-h8mm"}],"sources":{"cve":[{"id":"CVE-2021-23327","title":"Cross-site Scripting (XSS)","description":"The package apexcharts before 3.24.0 are vulnerable to Cross-site Scripting (XSS) via lack of sanitization of graph legend fields.","status":"published","published":"2021-02-09T08:10:16.85Z","modified":"2024-09-17T02:51:43.351Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:33:00.819444Z"}],"euvd":[{"id":"EUVD-2021-0572","description":"The package apexcharts before 3.24.0 are vulnerable to Cross-site Scripting (XSS) via lack of sanitization of graph legend fields.","status":"published","published":"2021-02-09T08:10:16Z","modified":"2024-09-17T02:51:43Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O","level":"medium"}],"updated_at":"2026-11-03T00:28:36.981601Z"}],"ghsa":[{"id":"GHSA-w46j-8hm6-h8mm","title":"XSS in apexcharts","description":"The package apexcharts before 3.24.0 are vulnerable to Cross-site Scripting (XSS) via lack of sanitization of graph legend fields.","status":"published","published":"2021-02-11T20:47:34Z","modified":"2023-09-12T20:53:30Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:05.004935Z"}],"nvd":[{"id":"CVE-2021-23327","description":"The package apexcharts before 3.24.0 are vulnerable to Cross-site Scripting (XSS) via lack of sanitization of graph legend fields.","status":"published","published":"2021-02-09T08:15:11.167Z","modified":"2026-06-17T03:38:33.827Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:49.660551Z"}],"osv":[{"id":"CVE-2021-23327","description":"The package apexcharts before 3.24.0 are vulnerable to Cross-site Scripting (XSS) via lack of sanitization of graph legend fields.","status":"published","published":"2021-02-09T08:15:11.167Z","modified":"2026-10-20T10:55:07.885226103Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T15:44:18.367807Z"},{"id":"GHSA-w46j-8hm6-h8mm","title":"XSS in apexcharts","description":"The package apexcharts before 3.24.0 are vulnerable to Cross-site Scripting (XSS) via lack of sanitization of graph legend fields.","status":"published","published":"2021-02-11T20:47:34Z","modified":"2025-01-14T08:57:20.231478Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:58.04805Z"}]}}
