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:
I.style.paddingRight=18*B.childNodes.length+"px"}};EditorUi.prototype.addLibraryEntries=function(c,e){for(var k=0;k<c.length;k++){var q=c[k],p=q.data;if(null!=p){p=this.convertDataUri(p);var t="shape=image;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=0;";"fixed"==q.aspect&&(t+="aspect=fixed;");e.appendChild(this.sidebar.createVertexTemplate(t+"image="+p,q.w,q.h,"",q.title||"",!1,null,!0))}else null!=q.xml&&(p=this.stringToCells("<"==q.xml.charAt(0)?q.xml:Graph.decompress(q.xml)),0<p.length&&
e.appendChild(this.sidebar.createVertexTemplateFromCells(p,q.w,q.h,q.title||"",!0,null,!0)))}};EditorUi.prototype.getResource=function(c){return null!=c?c[mxLanguage]||c.main:null};EditorUi.prototype.footerHeight=0;"1"==urlParams.savesidebar&&(Sidebar.prototype.thumbWidth=64,Sidebar.prototype.thumbHeight=64);EditorUi.initTheme=function(){"atlas"==Editor.currentTheme&&(mxClient.link("stylesheet",STYLE_PATH+"/atlas.css"),"undefined"!==typeof Toolbar&&(Toolbar.prototype.unselectedBackground="linear-gradient(rgb(255, 255, 255) 0px, rgb(242, 242, 242) 100%)",