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:
var BackgroundImageDialog=function(b,f,l,d,q){function u(){null==O||O==mxConstants.NONE?(N.style.display="none",V.checked=!1):(N.style.backgroundColor=O,N.style.display="",V.checked=!0)}var z=b.editor.graph,D=document.createElement("div");D.style.whiteSpace="nowrap";var L=document.createElement("h2");mxUtils.write(L,mxResources.get("background"));L.style.marginTop="0px";D.appendChild(L);var K=null!=l&&null!=l.originalSrc;L=!1;var E=document.createElement("input");E.style.cssText="margin-right:8px;margin-bottom:8px;";