CVE-2026-45249

Source
https://cve.org/CVERecord?id=CVE-2026-45249
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45249.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-45249
Aliases
Downstream
Related
Published
2026-05-25T07:38:07.398Z
Modified
2026-07-15T01:48:50.059266661Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Apache ECharts: XSS in Lines series tooltip rendering
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45249.json",
    "cna_assigner": "apache"
}
References

Affected packages

Git / github.com/apache/echarts

Affected ranges

Type
GIT
Repo
https://github.com/apache/echarts
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:apache:echarts:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "6.1.0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Affected versions

1.*
1.0.0
1.1.0
1.1.1
1.1.2
1.2.0
1.3.0
1.3.5
1.3.6
1.3.7
1.3.8
1.4.0
1.4.1
2.*
2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
2.1.10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