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:
function(k,y){if("undefined"===typeof window.MathJax&&!mxClient.IS_IE&&!mxClient.IS_IE11){var G=function(){P=null;if(0<Editor.mathJaxQueue.length)Editor.doMathJaxRender(Editor.mathJaxQueue.shift());else Editor.onMathJaxDone()};k=null!=k?k:DRAW_MATH_URL+"/startup.js";Editor.mathJaxQueue=[];var P=null;Editor.doMathJaxRender=function(T){try{null==P?(MathJax.typesetClear([T]),MathJax.typeset([T]),G()):P!=T&&Editor.mathJaxQueue.push(T)}catch(W){MathJax.typesetClear([T]),null!=W.retry?(P=T,W.retry.then(function(){MathJax.typesetPromise([T]).then(G)["catch"](function(X){console.log("Error in MathJax.typesetPromise: "+
X.toString());G()})})["catch"](function(X){console.log("Error in MathJax.retry: "+X.toString());G()})):null!=window.console&&console.log("Error in MathJax.typeset: "+W.toString())}};window.MathJax=null!=y?y:{options:{skipHtmlTags:{"[+]":["text"]}},loader:{load:["html"==urlParams["math-output"]?"output/chtml":"output/svg","input/tex","input/asciimath","ui/safe"]},startup:{pageReady:function(){for(var T=0;T<Editor.mathJaxQueue.length;T++)Editor.doMathJaxRender(Editor.mathJaxQueue[T])}}};Editor.MathJaxRender=