Update npm package echarts to v6 [SECURITY]#8927
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
|
PR SummaryMedium Risk Overview The upgrade addresses CVE-2026-45249 (XSS in Lines-series default tooltips when Reviewers should treat this as a major dependency jump: ECharts 6 changes defaults (theme, axis layout/overflow) and has documented breaking option semantics ( Reviewed by Cursor Bugbot for commit a055440. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit a055440. Configure here.
| "@fortawesome/free-solid-svg-icons": "6.7.2", | ||
| "clsx": "2.1.1", | ||
| "echarts": "5.6.0", | ||
| "echarts": "6.1.0", |
There was a problem hiding this comment.
Lockfile out of sync
Medium Severity
This commit bumps echarts to 6.1.0 in @hashintel/design-system but leaves yarn.lock resolving echarts@npm:5.6.0 for that workspace. CI uses yarn install --immutable, so the manifest and lockfile mismatch fails installs and the intended upgrade (including the CVE fix) is not applied until the lockfile is regenerated.
Reviewed by Cursor Bugbot for commit a055440. Configure here.


This PR contains the following updates:
5.6.0→6.1.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
GitHub Vulnerability Alerts
CVE-2026-45249
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.
Release Notes
apache/echarts (echarts)
v6.1.0Compare Source
dataMinanddataMaxoption for calculating a nice axis extent. #20838 (Justin-ZS, Ovilia)"value"/"time"/"category"/"log") to render series (typically"bar"/"pictorialBar"/"candlestick"/"boxplot") without overflow (including the case"category"axis withboundaryGap: false); providecontainShapeoption; provide some correspondingclipoption. dbfaf6a73 fe932a2aa 3973b21ee (100pah) #21511 (Akash Sonune)"log"axis. dedc5dc18 (100pah)axisLabel.formatterto receive its index for working withcustomValues. #21220 #21432 (Szymon Pachucki, Ovilia, plainheart)triggerEventoption for more control over mouse event. #21001 (Steven Cobb, plainheart)tangential-nofliprotation mode to keep labels tangential without flipping. #21258 (春秋半夏, Ovilia)progress.colorsupports'auto'. #21224 (StNimmerlein, Ovilia)clockwiseoption. #21143 (Dai Xuezhou, Ovilia)cursoroption forcandlestickseries and addcursorGraboption &cursorGrabbingfor'inside'dataZoom. #21558 (zuming, Ovilia, 100pah)clipoption on"scatter"/"effectScatter"ongeo. 417592289 (100pah)seriesTargetsoption for multiple series-dimension mappings. #20703 (Justin-ZS, plainheart)matrix.x/y.lengthfor conveniently creating a headless matrix without composing an array. #21191 (100pah, plainheart)triggerEventoption to support triggering event on matrix cells. #21390 (Natsuo Kawai, 100pah)customValueswithformatterin time axis (axis.type: 'time') label. #21352 (Srajan Sanjay Saxena, plainheart)alignTickstrategy, and fixLogScaleprecision. a6ab2458f ffcc636fb (100pah)axis.type: 'time') orcustomValues, which causes jitter ofsplitArea; fix theshowMin/MaxLabelhandling of a category axis (axis.type: 'category'); enable a uniformbandWidthcalculation in numeric axis (axis.type: 'value' | 'time' | 'log'). 8de2b64fa 15af0db02 8ddaa5c69 (100pah)axis.type: 'time') bug when value scale is in millisecond. 40b77b464 (100pah)roundTripis not enabled. #21320 (Mayank Mehta, plainheart)series.encodeon horizontal layout. #21325 (Purbayan Pramanik, 100pah)gridcomponent). 18a23a875 (100pah)scaleLimitis specified #21427 (TateLiu, 100pah)tooltipXSS vulnerability in lines series (series.type: 'lines'). #21608 (plainheart)tooltipcontent does not refresh when changing tooltip trigger from'axis'to'item'. #20710 (Justin-ZS, plainheart)valueFormattercallback paramdataIndexshould berawDataIndexrather thandataZoomfiltereddataIndex. #21479 (100pah, plainheart)axisPointershadow and enable clipping - it is previously only applicable to"category"axis, but is buggy in numeric axis with"bar"series. 8de2b64fa (100pah)axisPointerrestoration. 56a32c0bb (100pah)markerfails to render withdatasetandencode. #21439 (plainheart, 100pah).dataZoomwhen theserieshas only one data point. #21196 (alesmit, Ovilia)dataZoombug that data info disappears when dragging released; fixdataZoomdragging cursor style. 64305a4b8 (100pah)dataZoomcontrols axes withalignTicks: true. d168bf237 (100pah)AxisProxycan not be cleared whendataZoomoption changed; fix relatedonZerobehaviors. 52ceb924a 2e82d33c3 (100pah)areaStylerender error when dimension name is empty string. #21219 (Justin-ZS, Ovilia)emphasiscolor is the same as the default color. #21384 (Ovilia) b094f987d (100pah)dataViewcomponent does not fit the dark mode. #21176 (notthistrain, Ovilia)labelLine.smoothcan not be reset. #21425 (fanwww, plainheart)roundRecthelper. zrender#1155 (plainheart)encodeBase64compatibility to make it available in more environments like Web Worker/NodeJS/Bun. zrender#1145 (plainheart)echartsinstance object asrawinVue. #21293 (plainheart)langDE. #21571 (A-Loot, plainheart)TS,ESMandCJScompatibility. #21411 (Akash Sonune, 100pah)TSexport types. #21147 (100pah, Ovilia)nodeScaleRatiooption type forgraphseries. #21229 (ocshawn, plainheart)emphasis.handleLabelofsliderdataZoomshould be an optional type. #21175 (Ovilia, plainheart)Continous→Continuousand deprecate typo'd types. #21528 (Homa Wong, plainheart)unpkgentry topackage.json. #21177 (Yue JIN, plainheart)eachmethod ofSeriesData. #21294 (Yurun, plainheart)test/webkit-dep.htmtest case. #21508 (zuming, Ovilia)v6.0.0:tooltip.valueFormattercallback is changed fromdataIndex(i.e., the index afterseriesdata filtered bydataZoom) torawDataIndex(i.e., the index of the original inputseriesdata).startValuewas also used asaxis.minif axis.min was not provided. The new version decouples them - explicitly setting them both (e.g.,startValue: 111, min: 111) is equivalent to the previous behavior (startValue: 111andminis not specified)."bar"/"pictorialBar"/"candlestick"/"boxplot"series could overflow the Cartesian rectangle (grid) at the edge shapes. The new version eliminates that overflow. The previous behavior can be restored viaaxis.containShape: false.New Contributors
v6.0.0Compare Source
grid(Cartesian),geo,polar, etc.) are supported to be declaratively laid out in the cells of matrix and calendar coordinate system. #19807 #21093 (Ovilia) #21005 #21108 (100pah)gridcomponent) axis labels and axis names overflowing the canvas, prevent axis names from overlapping with axis labels, and make them the default. #21059 (100pah) #19534 (robin-gerling) #16825 (konrad-amtenbrink)roamTrigger; supportclipongeoandseries.map; support cursor style change when hovering on the roaming area; supportpreserveAspectongeo,series.mapandseries.graph; fix the percent base ofcenterongeo,series.map,series.graphandseries.tree; enhance the behavior for roaming area overlapping. #19807#issuecomment-2974437299 (100pah)zoption for markPoint/markLine/markArea. #21117 (sz-p)z2option for markPoint/markLine/markArea. #20782 (sz-p)relativeTooption for specifying the relative target of marker position. #20166 #21042 (Ovilia)displayTransitionoption to control whether to enable the tooltip display transition. #20966 (jqqin)unboundedRangeoption. #21113 (100pah)triggerEventoption. #18164 #20907 (sz-p)tooltipDisabledfor custom series. #20447 (Ovilia)roundCapwhen changes. #20582 (Ovilia)emphasis.focusis'trajectory'with large data. #20959 (plainheart)startValueoption from theBarSeriesOptioninterface. #20901 (plainheart)blur.itemStylenot working. #21081 (mustcanbedo) #21124 (Ovilia)getSvgDataURL. #20760 (plainheart)echarts/theme/v5.jsto restore the old visual style and location settings. See #20865.echarts/src/theme/light.tsis now migrated toecharts/theme/rainbow.js.grid.outerBoundsMode: 'none'to disable the anti-overflow mechanism, and/or use optionxAxis/yAxis.axisLabel.nameMoveOverlap: falseto disable the anti-axisLabel-axisName-overlap mechanism. See #21059.center(such as the base of'33%') ongeo,series.map,series.graphandseries.treeare changed. The previous percent base is incorrect. But if you need to restore, setlegacyViewCoordSysCenterBase: true(on the root level of an echarts option). See #19807#issuecomment-2974437299.fontStyle,fontWeight,fontSize,fontFamily,textShadowColor,textShadowBlur,textShadowOffsetX,textShadowOffsetY) are changed to inherit the plain label styles. You can userichInheritPlainLabel: false(on the root level of an echarts option, or at the same level of the label style options) to restore it. See #20977New Contributors
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.