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:
D?mxUtils.button(mxResources.get("ignore"),D):null;null!=D&&(D.className="geBtn");b.editor.cancelFirst?(c.appendChild(l),null!=D&&c.appendChild(D),c.appendChild(z),c.appendChild(u)):(c.appendChild(u),c.appendChild(z),null!=D&&c.appendChild(D),c.appendChild(l));K.appendChild(c);K.appendChild(e);this.container=K},FindWindow=function(b,f,l,d,q,u){function z(I,g,x,F){if("object"===typeof g.value&&null!=g.value.attributes){g=g.value.attributes;for(var M=0;M<g.length;M++)if("label"!=g[M].nodeName){var Q=
mxUtils.trim(g[M].nodeValue.replace(/[\x00-\x1F\x7F-\x9F]|\s+/g," ")).toLowerCase();if(null==I&&(F&&0<=Q.indexOf(x)||!F&&Q.substring(0,x.length)===x)||null!=I&&I.test(Q))return!0}}return!1}function D(){c?(m.removeAttribute("disabled"),v.removeAttribute("disabled")):(m.setAttribute("disabled","disabled"),v.setAttribute("disabled","disabled"));C.value?A.removeAttribute("disabled"):A.setAttribute("disabled","disabled")}function L(I,g,x){N.innerText="";var F=E.model.getDescendants(E.model.getRoot()),