Language: JavaScript
Label: vulnerable
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:
mxUtils.trim(mxUtils.getTextContent(m)),ba=null;0<M.length?(m=Graph.decompress(M,null,C),null!=m&&0<m.length&&(ba=mxUtils.parseXml(m).documentElement)):(m=mxUtils.getChildNodes(m),0<m.length&&(ba=mxUtils.createXmlDocument(),ba.appendChild(ba.importNode(m[0],!0)),ba=ba.documentElement));return ba};Editor.getDiagramNodeXml=function(m){var C=mxUtils.getTextContent(m),M=null;0<C.length?M=Graph.decompress(C):null!=m.firstChild&&(M=mxUtils.getXml(m.firstChild));return M};Editor.extractGraphModelFromPdf=