{"id":"CVE-2021-23327","published":"2021-02-09T08:10:16Z","modified":"2024-09-17T02:51:43Z","title":"Cross-site Scripting (XSS)","vendor":null,"product":null,"tier":"tail","description":{"text":"The package apexcharts before 3.24.0 are vulnerable to Cross-site Scripting (XSS) via lack of sanitization of graph legend fields.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01387,"percentile":0.72928,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-APEXCHARTS-1062708","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1070616","tags":["x_refsource_MISC"]},{"url":"https://github.com/apexcharts/apexcharts.js/commit/68f3f34d125719b4767614fe0a595cc65bde1d19","tags":["x_refsource_MISC"]},{"url":"https://github.com/apexcharts/apexcharts.js/pull/2158","tags":["x_refsource_MISC"]}],"priority":{"score":19.0,"factors":[{"name":"EPSS percentile","points":14.59},{"name":"CVSS severity","points":4.41}]},"affectedVersions":[{"vendor":"n/a","product":"apexcharts","versions":[">= unspecified, < 3.24.0"]}],"affected":[{"ecosystem":"npm","package":"apexcharts","vulnerableRanges":["<3.24.0"],"patched":["3.24.0"],"from":["GHSA-w46j-8hm6-h8mm"],"provenance":"source"}],"summary":{"text":"The apexcharts JavaScript charting package, before version 3.24.0, contains a cross-site scripting flaw caused by missing sanitisation of graph legend fields. An attacker can inject script into a legend field and have it execute in a victim's browser, which requires user interaction and no privileges, with the attack reachable over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:26Z"},"euvd":{"id":"EUVD-2021-0572","exploited":false,"provenance":"source"}}