{"id":"CVE-2021-23327","aliases":["CVE-2021-23327","GHSA-w46j-8hm6-h8mm"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting (XSS)","summary":"The package apexcharts before 3.24.0 are vulnerable to Cross-site Scripting (XSS) via lack of sanitization of graph legend fields.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The package apexcharts before 3.24.0 are vulnerable to Cross-site Scripting (XSS) via lack of sanitization of graph legend fields.","source":"cvelist"},{"lang":"es","text":"Los paquetes apexcharts versiones anteriores a 3.24.0, son vulnerables a ataques de tipo Cross-site Scripting (XSS) debido a una falta de saneamiento de los campos de leyenda de gráficos","source":"nvd"}],"published":"2021-02-09T08:10:16.850Z","modified":"2026-06-17T03:38:33.827Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"3.24.0","status":"affected"}],"product":"apexcharts","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.24.0"}],"ecosystem":"npm","package":"apexcharts","purl":"pkg:npm/apexcharts","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.24.0"}],"vendor":"fusioncharts","product":"apexcharts","cpe":"cpe:2.3:a:fusioncharts:apexcharts:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-APEXCHARTS-1062708","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1070616","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/apexcharts/apexcharts.js/commit/68f3f34d125719b4767614fe0a595cc65bde1d19","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/apexcharts/apexcharts.js/pull/2158","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23327","tags":["advisory"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/package/apexcharts","tags":["web"],"sources":["ghsa"]}],"credits":["Arjun Shibu"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23327","url":"https://www.cve.org/CVERecord?id=CVE-2021-23327","licence":"CVE Terms of Use","modified":"2024-09-17T02:51:43.351Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w46j-8hm6-h8mm","url":"https://github.com/advisories/GHSA-w46j-8hm6-h8mm","licence":"CC-BY-4.0","modified":"2025-01-14T08:57:20.231Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23327","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23327","licence":"Public domain","modified":"2026-06-17T03:38:33.827Z"}],"updatedAt":"2026-11-25T22:57:59.854Z","epss":{"score":0.01387,"percentile":0.73054,"date":"2026-12-01T12:00:22.000Z"}}