Language: JavaScript
Label: vulnerable
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[A]])}}finally{f.getModel().endUpdate()}});v.className="geBtn gePrimaryBtn";mxEvent.addListener(k,"keypress",function(A){13==A.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(S){for(S=document.elementFromPoint(S.clientX,
S.clientY);null!=S&&S.parentNode!=d;)S=S.parentNode;var p=null;if(null!=S){var q=d.firstChild;for(p=0;null!=q&&q!=S;)q=q.nextSibling,p++}return p}function y(S,p,q,C,J,G,P,O,N){try{if(b.spinner.stop(),null==p||"image/"==p.substring(0,6))if(null==S&&null!=P||null==n[S]){var T=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==