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:
l=0;l<K.length;l++)if(null!=K[l][EditorUi.DIFF_UPDATE]&&null!=K[l][EditorUi.DIFF_UPDATE][C]||null!=K[l][EditorUi.DIFF_REMOVE]&&0<=mxUtils.indexOf(K[l][EditorUi.DIFF_REMOVE],C)){g.refreshBackgroundImage();break}}}));var x=g.getBackgroundImageObject;g.getBackgroundImageObject=function(C,K){var l=x.apply(this,arguments);if(null!=l&&null!=l.originalSrc)if(!K)l={src:l.originalSrc};else if(K&&null!=this.themes&&"darkTheme"==this.defaultThemeName){var z=this.stylesheet,J=this.shapeForegroundColor,O=this.shapeBackgroundColor;
this.stylesheet=this.getDefaultStylesheet();this.shapeBackgroundColor="#ffffff";this.shapeForegroundColor="#000000";l=d.createImageForPageLink(l.originalSrc);this.shapeBackgroundColor=O;this.shapeForegroundColor=J;this.stylesheet=z}return l};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=