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:
EditorUi.lightboxHost+"/?client=1"+(null!=g?"&page="+g:"")+(t?"&edit=_blank":"")+(v?"&layers=1":"")+"');}}})(this);"),N+="cursor:pointer;"),d&&(d=parseInt(F.getAttribute("width")),t=parseInt(F.getAttribute("height")),F.setAttribute("viewBox","-0.5 -0.5 "+d+" "+t),N+="max-width:100%;max-height:"+t+"px;",F.removeAttribute("height")),""!=N&&F.setAttribute("style",N),this.editor.addFontCss(F),this.editor.graph.mathEnabled&&this.editor.addMathCss(F),B(mxUtils.getXml(F))};EditorUi.prototype.timeSince=function(d){d=
Math.floor((new Date-d)/1E3);var g=Math.floor(d/31536E3);if(1<g)return g+" "+mxResources.get("years");g=Math.floor(d/2592E3);if(1<g)return g+" "+mxResources.get("months");g=Math.floor(d/86400);if(1<g)return g+" "+mxResources.get("days");g=Math.floor(d/3600);if(1<g)return g+" "+mxResources.get("hours");g=Math.floor(d/60);return 1<g?g+" "+mxResources.get("minutes"):1==g?g+" "+mxResources.get("minute"):null};EditorUi.prototype.decodeNodeIntoGraph=function(d,g){if(null!=d){var n=null;if("diagram"==d.nodeName)n=