CVE-2026-45249Apache Echarts
Medium 6.1 No auth needed
Follow: this CVE · Apache · Apache Echarts We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- —
- Auth required
- No
- Published
- May 25, 2026
- Updated
- Jul 23, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Echarts.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | echarts |
< 6.1.0 |
6.1.0 |
npm install echarts@6.1.0 |
Per OSV / GitHub Advisories (GHSA-fgmj-fm8m-jvvx). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | echarts | < 6.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- echarts.apache.org Product
- echarts.apache.org Product
- github.com Issue Tracking Patch
- lists.apache.org Mailing List Vendor Advisory
- www.openwall.com Mailing List Third Party Advisory