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:
v,"image(s) from",H.length,"cell(s): ",[H,B])}finally{q.model.endUpdate()}}));d.actions.addAction("testInspect",mxUtils.bind(this,function(){console.log(d,q.getModel())}));d.actions.addAction("testXmlImageExport",mxUtils.bind(this,function(){var m=new mxImageExport,v=q.getGraphBounds(),B=q.view.scale,H=mxUtils.createXmlDocument(),g=H.createElement("output");H.appendChild(g);H=new mxXmlCanvas2D(g);H.translate(Math.floor((1-v.x)/B),Math.floor((1-v.y)/B));H.scale(1/B);var x=0,F=H.save;H.save=function(){x++;