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:
g=0;g<I.length;g++)if(null!=I[g][EditorUi.DIFF_UPDATE]&&null!=I[g][EditorUi.DIFF_UPDATE][A]||null!=I[g][EditorUi.DIFF_REMOVE]&&0<=mxUtils.indexOf(I[g][EditorUi.DIFF_REMOVE],A)){e.refreshBackgroundImage();break}}}));var t=e.getBackgroundImageObject;e.getBackgroundImageObject=function(A,I){var g=t.apply(this,arguments);if(null!=g&&null!=g.originalSrc)if(!I)g={src:g.originalSrc};else if(I&&null!=this.themes&&"darkTheme"==this.defaultThemeName){var x=this.stylesheet,F=this.shapeForegroundColor,M=this.shapeBackgroundColor;
this.stylesheet=this.getDefaultStylesheet();this.shapeBackgroundColor="#ffffff";this.shapeForegroundColor="#000000";g=c.createImageForPageLink(g.originalSrc);this.shapeBackgroundColor=M;this.shapeForegroundColor=F;this.stylesheet=x}return g};this.isOffline()||"undefined"===typeof window.EditDataDialog||(EditDataDialog.placeholderHelpLink="https://www.drawio.com/doc/faq/predefined-placeholders");if(/viewer\.diagrams\.net$/.test(window.location.hostname)||/embed\.diagrams\.net$/.test(window.location.hostname))this.editor.editBlankUrl=