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:
m=null!=m?m:DRAW_MATH_URL+"/startup.js";Editor.mathJaxQueue=[];var ba=null;Editor.doMathJaxRender=function(aa){try{null==ba?(MathJax.typesetClear([aa]),MathJax.typeset([aa]),M()):ba!=aa&&Editor.mathJaxQueue.push(aa)}catch(ka){MathJax.typesetClear([aa]),null!=ka.retry?(ba=aa,ka.retry.then(function(){MathJax.typesetPromise([aa]).then(M)["catch"](function(qa){console.log("Error in MathJax.typesetPromise: "+qa.toString());M()})})["catch"](function(qa){console.log("Error in MathJax.retry: "+qa.toString());
M()})):null!=window.console&&console.log("Error in MathJax.typeset: "+ka.toString())}};window.MathJax=null!=C?C:{options:{skipHtmlTags:{"[+]":["text"]}},loader:{load:["html"==urlParams["math-output"]?"output/chtml":"output/svg","input/tex","input/asciimath","ui/safe"]},startup:{pageReady:function(){for(var aa=0;aa<Editor.mathJaxQueue.length;aa++)Editor.doMathJaxRender(Editor.mathJaxQueue[aa])}}};Editor.MathJaxRender=function(aa){"undefined"!==typeof MathJax&&"function"===typeof MathJax.typeset?Editor.doMathJaxRender(aa):