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:
EditorUi.prototype.createControlTab=function(b,e,g){var p=this.createTab();p.className="geTab geControlTab";p.style.width="30px";null!=b&&p.setAttribute("title",b);b=document.createElement("div");b.className="geAdaptiveAsset";b.style.backgroundImage="url("+e+")";b.style.backgroundRepeat="no-repeat";b.style.backgroundPosition="center";b.style.backgroundSize="24px";b.style.position="relative";b.style.opacity="0.5";b.style.width="100%";b.style.height="100%";p.appendChild(b);mxEvent.addListener(p,"click",
g);return p};EditorUi.prototype.createPageInsertTab=function(){return this.createControlTab(mxResources.get("insertPage"),Editor.plusImage,mxUtils.bind(this,function(b){this.insertPage();mxEvent.consume(b)}))};