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: "+