GHSA-fgmj-fm8m-jvvx

    Dashboard / Vulnerabilities / GHSA-fgmj-fm8m-jvvx

    GHSA-fgmj-fm8m-jvvx

    Published: 26 May 2026Last Modified: 10 Sept 2026

    Summary: Apache ECharts has a cross-site scripting (XSS) vulnerability

    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.

    Affected packages

    Package

    Name: echarts

    Purl: pkg:npm/echarts

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -6.1.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-fgmj-fm8m-jvvx | CVE-DB