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:
m?m.getElementsByTagName("parsererror"):null;null!=m&&0<m.length&&(J=z||mxResources.get("invalidChars"),z=m[0].getElementsByTagName("div"),0<z.length&&(J=mxUtils.getTextContent(z[0])));return null!=J?mxUtils.trim(J):J};Editor.addRetryToError=function(m,z){null!=m&&(m=null!=m.error?m.error:m,null==m.retry&&(m.retry=z))};Editor.mermaidToDrawio=function(m,z,J){if("function"===typeof mxMermaidToDrawio)return mxMermaidToDrawio(m,z,J)};Editor.configure=function(m){if(null!=m){Editor.config=m;Editor.configVersion=