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:
function(){null!=v&&(v(),v=null);b.showImageDialog(mxResources.get("addImageUrl"),"",function(T,p,q){H=!1;if(null!=T){if("data:image/"==T.substring(0,11)){var C=T.indexOf(",");0<C&&(T=T.substring(0,C)+";base64,"+T.substring(C+1))}y(T,null,0,0,p,q);d.scrollTop=d.scrollHeight}})});e.setAttribute("id","btnAddImageUrl");e.className="geBtn";c.appendChild(e);this.saveBtnClickHandler=function(T,p,q,C){b.saveLibrary(T,p,q,C)};e=mxUtils.button(mxResources.get("save"),mxUtils.bind(this,function(){null!=v&&