Apache ECharts: XSS in Lines series tooltip rendering
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache ECharts | before 6.1.0 | 6.1.0 | Patch available | CNA |
| — | echarts (npm) | before 6.1.0 | 6.1.0 | Patch available | GHSA-fgmj-fm8m-jvvx |
- Apache ECharts VendorApache Affected before 6.1.0 Fixed in 6.1.0 Patch available CNA
- echarts (npm) Vendor— Affected before 6.1.0 Fixed in 6.1.0 Patch available GHSA-fgmj-fm8m-jvvx
Remediation
- Fix · CNA Apache ECharts (Apache Software Foundation) Fixed in 6.1.0
- Fix · GHSA-fgmj-fm8m-jvvx echarts (npm) Fixed in 6.1.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-45249
- 2026-10-03 Alias added: GHSA-fgmj-fm8m-jvvx
References
Advisory 3
Sources
- CVE-2026-45249 · CVE Program
- CVE-2026-45249 · NVD
- FIRST EPSS
- GHSA-fgmj-fm8m-jvvx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences