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:
ka.height;if(0==ea&&0==ca){var ja=N.result,ma=ja.indexOf(","),Z=decodeURIComponent(escape(atob(ja.substring(ma+1)))),S=mxUtils.parseXml(Z).getElementsByTagName("svg");0<S.length&&(ea=parseFloat(S[0].getAttribute("width")),ca=parseFloat(S[0].getAttribute("height")))}k(N.result,ea,ca)}catch(da){u(da)}};ka.src=N.result};N.onerror=function(H){u(H)}}else u(K)};F.onerror=function(K){u(K)};F.send()};EditorUi.prototype.insertAsPreText=function(d,f,k){var u=this.editor.graph,z=null;u.getModel().beginUpdate();