{"id":"CVE-2026-45249","published":"2026-05-25T07:38:07Z","modified":"2026-05-26T16:17:41Z","title":"Apache ECharts: XSS in Lines series tooltip rendering","vendor":"Apache","product":"Apache ECharts","tier":"tail","description":{"text":"A cross-site scripting (XSS) vulnerability exists in Apache ECharts in the Lines series tooltip rendering logic.\n\n\n\n\nThis issue affects Apache ECharts: from before 6.1.0.\n\nIn versions prior to 6.1.0, if both Lines series and tooltip are used, and no user-specified tooltip.formatter is provided, and series.data[i].name is specified, raw HTML string series.data[i].name can be rendered through innerHTML sink into tooltip content. Although tooltip is allowed to accept user-provided raw HTML via a custom tooltip.formatter, the built-in tooltip formatters conventionally perform HTML escaping automatically. This case breaks that convention and may unexpectedly lead to script execution when tooltips are displayed.\n\n\nUsers are recommended to upgrade to version 6.1.0 if using the Lines series in this way, which fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00749,"percentile":0.55824,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/apache/echarts/pull/21608","tags":["patch","technical-description"]},{"url":"https://echarts.apache.org/en/option.html#series-lines","tags":[]},{"url":"https://echarts.apache.org/handbook/en/best-practices/security/#passing_raw_html_safely","tags":["technical-description"]},{"url":"https://lists.apache.org/thread/1g6xk7gd9vg1c6zyqqt2lnko10zomc3o","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/05/23/4","tags":[]}],"priority":{"score":15.4,"factors":[{"name":"EPSS percentile","points":11.16},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache ECharts","versions":["< 6.1.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-26T16:17:23.982532Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"echarts","vulnerableRanges":["<6.1.0"],"patched":["6.1.0"],"from":["GHSA-fgmj-fm8m-jvvx"],"provenance":"source"}],"summary":{"text":"Apache ECharts before 6.1.0 has a cross-site scripting flaw in the Lines series tooltip rendering logic, where a series.data[i].name value containing raw HTML is inserted into tooltip content via innerHTML when no custom tooltip.formatter is supplied. An attacker can get script execution in a viewer's browser by supplying malicious raw HTML as a data name, which requires a user to interact with the page so that the tooltip is displayed, and the Lines series plus tooltip must be in use without a user-specified formatter.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:47Z"},"euvd":{"id":"EUVD-2026-31650","exploited":false,"provenance":"source"}}