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:
E()?"":Editor.isDarkMode()?"#ff0000":"#ffcfcf"}catch(K){b.handleError(K)}});Q.setAttribute("title",mxResources.get("find")+" (Enter)");Q.style.float="none";Q.style.width="120px";Q.style.marginTop="6px";Q.style.marginLeft="8px";Q.style.overflow="hidden";Q.style.textOverflow="ellipsis";Q.className="geBtn gePrimaryBtn";B.appendChild(Q);var P=document.createElement("div");P.style.marginTop="10px";if(m){var M=function(K,l,z,J,O){if(null==O||"1"!=O.html)return J=K.toLowerCase().indexOf(l,J),0>J?K:K.substr(0,
J)+z+K.substr(J+l.length);var T=K;l=mxUtils.htmlEntities(l);O=[];var W=-1;for(K=K.replace(/<br>/ig,"\n");-1<(W=K.indexOf("<",W+1));)O.push(W);W=K.match(/<[^>]*>/g);K=K.replace(/<[^>]*>/g,"");J=K.toLowerCase().indexOf(l,J);if(0>J)return T;T=J+l.length;z=mxUtils.htmlEntities(z);K=K.substr(0,J)+z+K.substr(T);for(var V=0,S=0;S<O.length;S++){if(O[S]-V<J)K=K.substr(0,O[S])+W[S]+K.substr(O[S]);else{var X=O[S]-V<T?J+V:O[S]+(z.length-l.length);K=K.substr(0,X)+W[S]+K.substr(X)}V+=W[S].length}return K.replace(/\n/g,
"<br>")},p=mxUtils.button(mxResources.get("replFind"),function(){try{if(null!=n&&null!=H){var K=H.cell,l=A.getLabel(K);A.isCellEditable(K)&&A.model.setValue(K,M(l,n,I.value,q-n.length,A.getCurrentCellStyle(K)));G.style.backgroundColor=E(!1,!0)?"":Editor.isDarkMode()?"#ff0000":"#ffcfcf"}}catch(z){b.handleError(z)}});p.setAttribute("title",mxResources.get("replFind"));p.style.float="none";p.style.width="120px";p.style.marginTop="6px";p.style.marginLeft="8px";p.style.overflow="hidden";p.style.textOverflow=