CVE-2026-45249Apache ECharts: XSS in Lines series tooltip rendering
- 6.1MediumCVSS base score
- 0.75%Exploitation in 30 daysEPSS · top 45% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
A cross-site scripting (XSS) vulnerability exists in Apache ECharts in the Lines series tooltip rendering logic. This issue affects Apache ECharts: from before 6.1.0. In 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. Users are recommended to upgrade to version 6.1.0 if using the Lines series in this way, which fixes the issue.
Timeline
ID reserved
By apache
- 14 days later
· 14 days later
Published
- 1 day later
· 1 day later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVDNVD · Analyzed | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.75% · top 45% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Affected products
Apache Software Foundation · Apache ECharts
- affected < 6.1.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmechartsGHSA-fgmj-fm8m-jvvx (opens in a new tab)
References
References5
- https://github.com/apache/echarts/pull/21608 (opens in a new tab)patchtechnical-description
- https://echarts.apache.org/en/option.html#series-lines (opens in a new tab)
- https://echarts.apache.org/handbook/en/best-practices/security/#passing_raw_html_safely (opens in a new tab)technical-description
- https://lists.apache.org/thread/1g6xk7gd9vg1c6zyqqt2lnko10zomc3o (opens in a new tab)vendor-advisory
- http://www.openwall.com/lists/oss-security/2026/05/23/4 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-31650 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-fgmj-fm8m-jvvx (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-45249)Record last updated .