Language: JavaScript
Label: vulnerable
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:
X||(aa.style.backgroundImage="url("+mxWindow.prototype.normalizeImage+")",aa.style.backgroundPosition="right 6px center",aa.style.backgroundRepeat="no-repeat",aa.style.paddingRight="22px");return aa}function d(Q,X,Z,Y,aa,ca){var da=document.createElement("a");da.className="geMenuItem";da.style.display="inline-block";da.style.boxSizing="border-box";da.style.height="30px";da.style.padding="6px";da.style.position="relative";da.style.verticalAlign="top";da.style.top="0px";null!=v.statusContainer?F.insertBefore(da,
v.statusContainer):F.appendChild(da);null!=ca?(da.style.backgroundImage="url("+ca+")",da.style.backgroundPosition="center center",da.style.backgroundRepeat="no-repeat",da.style.backgroundSize="24px 24px",da.style.width="34px"):mxUtils.write(da,Q);mxEvent.addListener(da,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(ba){ba.preventDefault()}));mxEvent.addListener(da,"click",function(ba){"disabled"!=da.getAttribute("disabled")&&X(ba);mxEvent.consume(ba)});null==Z&&(da.style.marginRight=
"4px");null!=Y&&da.setAttribute("title",Y);null!=aa&&(Q=function(){aa.isEnabled()?(da.removeAttribute("disabled"),da.style.cursor="pointer"):(da.setAttribute("disabled","disabled"),da.style.cursor="default")},aa.addListener("stateChanged",Q),B.addListener("enabledChanged",Q),Q());return da}function g(Q,X,Z){Z=document.createElement("div");Z.className="geMenuItem";Z.style.display="inline-block";Z.style.verticalAlign="top";Z.style.marginRight="6px";Z.style.padding="0 4px 0 4px";Z.style.height="30px";