The vulnerability is a stored/reflected XSS (CWE-79) in Highcharts Dashboards edit-mode sidebar. The component language strings shown in the sidebar are rendered as HTML instead of text. The patch (commit e65f8c21b9974dcccfa1c600a375d836acef4a7d) modifies a single line in ts/Dashboards/EditMode/SidebarPopup.ts, changing gridElement.innerHTML = components[i].text; to gridElement.textContent = components[i].text;. This line lives inside the renderAddComponentsList() method of the SidebarPopup class. The components[i].text value is populated from editMode.lang?.sidebar[componentName] (the language configuration) in getComponentsList(), which is attacker-controllable. Because the vulnerable code assigned this value to innerHTML, any HTML markup (including event handlers) supplied via the language options would be parsed and executed when the sidebar renders. The fix to textContent neutralizes the markup, confirming SidebarPopup.renderAddComponentsList as the vulnerable function. Since this is JavaScript/TypeScript (not Java), the profiler name is the class method without a package/namespace path.