Language: JavaScript
Label: vulnerable
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Code:
(null==R.getCell()||R.getCell()==H)};K.panningHandler.isForcePanningEvent=function(R){return 2==R.evt.button};var d=K.isCellSelectable;K.isCellSelectable=function(R){return R==H?!1:d.apply(this,arguments)};K.getLinkForCell=function(){return null};var g=K.view.getState(H);A=K.getAllConnectionConstraints(g);for(var n=0;null!=A&&n<A.length;n++){var q=K.getConnectionPoint(g,A[n]);l(q.x-3,q.y-3,A[n])}K.fit(8);K.center();n=b.createToolbarButton(Editor.zoomInImage,mxResources.get("zoomIn"),function(){K.zoomIn()},