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:
Pa.getAlternateText=function(nb,ub,gb,tb,ob,pb,hb,Ab,Db,Bb,vb,zb,yb){if(null!=pb&&0<this.state.fontSize)try{mxUtils.isNode(pb)?pb=pb.innerText:(eb.innerHTML=pb,pb=mxUtils.extractTextWithWhitespace(eb.childNodes));for(var Cb=Math.ceil(2*tb/this.state.fontSize),c=[],m=0,v=0;(0==Cb||m<Cb)&&v<pb.length;){var n=pb.charCodeAt(v);if(10==n||13==n){if(0<m)break}else c.push(pb.charAt(v)),255>n&&m++;v++}c.length<pb.length&&1<pb.length-c.length&&(pb=mxUtils.trim(c.join(""))+"...");return pb}catch(t){return jb.apply(this,
arguments)}else return jb.apply(this,arguments)};var ib=this.backgroundImage;if(null!=ib){x=Sa/J;var mb=this.view.translate;Ra=new mxRectangle((ib.x+mb.x)*x,(ib.y+mb.y)*x,ib.width*x,ib.height*x);mxUtils.intersects(cb,Ra)&&Pa.image(ib.x+mb.x,ib.y+mb.y,ib.width,ib.height,ib.src,!0)}Pa.scale(Y);Pa.textEnabled=oa;wa=null!=wa?wa:this.createSvgImageExport();var wb=wa.drawCellState,xb=wa.getLinkForCellState;wa.getLinkForCellState=function(nb,ub){var gb=xb.apply(this,arguments);return null==gb||nb.view.graph.isCustomLink(gb)?