Language: JavaScript
Label: safe
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
p));if(0<this.layerNames.length){c=a.getAllTags();n=!1;for(p=0;p<this.layerNames.length;p++)if(0>mxUtils.indexOf(c,this.layerNames[p])){n=!0;break}n&&(b=a.insertVertex(b,null,null,0,0,0,0),a.addTagsForCells([b],this.layerNames),b.setVisible(!1));a.setHiddenTags(f)}d||this.sanitiseGraph(a);return k};m.prototype.postImportPage=function(c,a,b){try{var d=function(n){if(null!=n){n=n.entries||[];for(var x=0;x<n.length;x++){var A=n[x].value||{};A.toBeCroppedImg&&k.push(A);d(A.getChildShapes())}}},f=this,