Language: JavaScript
Label: safe
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
var BackgroundImageDialog=function(b,f,m,d,u){function v(){null==z||z==mxConstants.NONE?(n.style.display="none",T.checked=!1):(n.style.backgroundColor=z,n.style.display="",T.checked=!0)}var D=b.editor.graph,F=document.createElement("div");F.style.whiteSpace="nowrap";var K=document.createElement("h2");mxUtils.write(K,mxResources.get("background"));K.style.marginTop="0px";F.appendChild(K);var M=null!=m&&null!=m.originalSrc;K=!1;var G=document.createElement("input");G.style.cssText="margin-right:8px;margin-bottom:8px;";