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:
6),g.setAttribute("height",parseInt(g.getAttribute("height"))+6),x=g.getAttribute("viewBox"),null!=x&&0<x.length&&(x=x.split(" "),3<x.length&&(w=parseFloat(x[2])+6,h=parseFloat(x[3])+6,g.setAttribute("viewBox",x[0]+" "+x[1]+" "+w+" "+h))))));return T};Graph.prototype.setShadowVisible=function(g,x){mxClient.IS_SVG&&!mxClient.IS_SF&&(x=null!=x?x:!0,(this.shadowVisible=g)?this.view.getDrawPane().setAttribute("filter","url(#"+this.shadowId+")"):this.view.getDrawPane().removeAttribute("filter"),x&&this.fireEvent(new mxEventObject("shadowVisibleChanged")))};