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:
g=0;g<H.length;g++)if(null!=H[g][EditorUi.DIFF_UPDATE]&&null!=H[g][EditorUi.DIFF_UPDATE][B]||null!=H[g][EditorUi.DIFF_REMOVE]&&0<=mxUtils.indexOf(H[g][EditorUi.DIFF_REMOVE],B)){e.refreshBackgroundImage();break}}}));var t=e.getBackgroundImageObject;e.getBackgroundImageObject=function(B,H){var g=t.apply(this,arguments);if(null!=g&&null!=g.originalSrc)if(!H)g={src:g.originalSrc};else if(H&&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=