Language: JavaScript
Label: safe
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Code:
U.style.display="none";m=mxUtils.button(m||mxResources.get("edit"),function(){c.apply(this,[L.value])});m.className="geBtn gePrimaryBtn";d=document.createElement("div");d.style.position="absolute";d.style.bottom="30px";d.style.right="40px";d.style.textAlign="right";g=document.createElement("div");g.className="geToolbarContainer";g.style.cssText="box-shadow:none !important;background-color:transparent;padding:2px;border-style:none !important;bottom:30px;";this.init=function(){function R(M){if(null!=
M){var p=M.getAttribute("background");if(null==p||""==p||p==mxConstants.NONE)p=Editor.isDarkMode()?"transparent":"#ffffff";q.style.backgroundColor=p;(new mxCodec(M.ownerDocument)).decode(M,t.getModel());t.maxFitScale=1;t.fit(8);t.center()}return M}function N(M){null!=M&&(M=R(Editor.parseDiagramNode(M)));return M}mxEvent.addListener(U,"change",function(M){G=parseInt(U.value);N(I[G]);mxEvent.consume(M)});if("mxfile"==B.nodeName){var Q=B.getElementsByTagName("diagram");I=[];for(var P=0;P<Q.length;P++)I.push(Q[P]);