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:
e.location.href.substring(0,8)!=c.substring(0,8)&&(e.close(),b.handleError({message:mxResources.get("drawingTooLarge")}))}catch(q){}}),m||500)}catch(q){b.handleError({message:q.message||mxResources.get("drawingTooLarge")})}else{var k=window.open();k=null!=k?k.document:null;null!=k?(k.writeln("<html><head><title>"+encodeURIComponent(mxResources.get("preview"))+'</title><meta charset="utf-8"></head><body>'+f+"</body></html>"),k.close()):b.handleError({message:mxResources.get("errorUpdatingPreview")})}}),