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