Language: JavaScript
Label: safe
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",I.length,"cell(s): ",[I,A])}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(),A=q.view.scale,I=mxUtils.createXmlDocument(),g=I.createElement("output");I.appendChild(g);I=new mxXmlCanvas2D(g);I.translate(Math.floor((1-v.x)/A),Math.floor((1-v.y)/A));I.scale(1/A);var x=0,F=I.save;I.save=function(){x++;