CVE-2026-45249 Details
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.
A cross-site scripting (XSS) vulnerability has been identified in Apache ECharts, specifically in the Lines series tooltip rendering logic. This issue affects versions prior to 6.1.0. The vulnerability arises when both Lines series and tooltips are used without a user-specified tooltip formatter. If the series data includes raw HTML strings in the name field, these can be rendered as HTML in the tooltip, bypassing the default HTML escaping. This behavior can lead to unexpected script execution when the tooltip is displayed.
Users are advised to upgrade to Apache ECharts version 6.1.0 or later, which addresses this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2026/05/23/4 | CVE | Mailing ListThird Party Advisory |
| https://echarts.apache.org/en/option.html#series-lines | [email protected] | Product |
| https://echarts.apache.org/handbook/en/best-practices/security/#passing_raw_html_safely | [email protected] | Product |
| https://github.com/apache/echarts/pull/21608 | [email protected] | Issue TrackingPatch |
| https://lists.apache.org/thread/1g6xk7gd9vg1c6zyqqt2lnko10zomc3o | [email protected] | Mailing ListVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| apache echarts | < 6.1.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| May 28, 2026 | Initial Analysis | [email protected] |
| May 26, 2026 | CVE Modified | CISA-ADP |
| May 25, 2026 | CVE Modified | CVE |
| May 25, 2026 | New CVE Received | [email protected] |