GHSA-fgmj-fm8m-jvvx

Suggest an improvement
Source
https://github.com/advisories/GHSA-fgmj-fm8m-jvvx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-fgmj-fm8m-jvvx/GHSA-fgmj-fm8m-jvvx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fgmj-fm8m-jvvx
Aliases
Downstream
CGA (118)
MINI (4)
Published
2026-05-26T13:30:40Z
Modified
2026-09-10T03:50:46Z
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 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.

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-06-30T16:55:25Z",
    "nvd_published_at":  "2026-05-25T08:16:24Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / echarts

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
6.1.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-fgmj-fm8m-jvvx/GHSA-fgmj-fm8m-jvvx.json"