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:
return""!=x};mxCellEditor.prototype.insertTab=function(x){var L=this.textarea.ownerDocument.defaultView.getSelection(),Q=L.getRangeAt(0),X="\t";if(null!=x)for(X="";0<x;)X+=" ",x--;x=document.createElement("span");x.style.whiteSpace="pre";x.appendChild(document.createTextNode(X));Q.insertNode(x);Q.setStartAfter(x);Q.setEndAfter(x);L.removeAllRanges();L.addRange(Q)};mxCellEditor.prototype.alignText=function(x,L){var Q=null!=L&&mxEvent.isShiftDown(L);if(Q||null!=window.getSelection&&null!=window.getSelection().containsNode){var X=