Language: JavaScript
Label: safe
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
return O};Editor.getDiagramNodeXml=function(g){var y=mxUtils.getTextContent(g),H=null;0<y.length?H=Graph.decompress(y):null!=g.firstChild&&(H=mxUtils.getXml(g.firstChild));return H};Editor.extractGraphModelFromPdf=function(g){g=g.substring(g.indexOf(",")+1);g=window.atob&&!mxClient.IS_SF?atob(g):Base64.decode(g,!0);if("%PDF-1.7"==g.substring(0,8)){var y=g.indexOf("EmbeddedFile");if(-1<y){var H=g.indexOf("stream",y)+9;if(0<g.substring(y,H).indexOf("application#2Fvnd.jgraph.mxfile"))return y=g.indexOf("endstream",