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:
f.setCellStyles(mxConstants.STYLE_ROTATION,Number(u.value),[e[B]])}}finally{f.getModel().endUpdate()}});v.className="geBtn gePrimaryBtn";mxEvent.addListener(k,"keypress",function(B){13==B.keyCode&&v.click()});l=document.createElement("div");l.style.marginTop="20px";l.style.textAlign="right";b.editor.cancelFirst?(l.appendChild(c),l.appendChild(v)):(l.appendChild(v),l.appendChild(c));k.appendChild(l);this.container=k},LibraryDialog=function(b,e,f,c,k,l){function x(T){for(T=document.elementFromPoint(T.clientX,
T.clientY);null!=T&&T.parentNode!=d;)T=T.parentNode;var p=null;if(null!=T){var q=d.firstChild;for(p=0;null!=q&&q!=T;)q=q.nextSibling,p++}return p}function y(T,p,q,C,J,F,O,S,K){try{if(b.spinner.stop(),null==p||"image/"==p.substring(0,6))if(null==T&&null!=O||null==n[T]){var R=function(){V.innerText="";V.style.cursor="pointer";V.style.whiteSpace="nowrap";V.style.textOverflow="ellipsis";mxUtils.write(V,null!=X.title&&0<X.title.length?X.title:mxResources.get("untitled"));V.style.color=null==X.title||0==