Language: JavaScript
Label: vulnerable
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Code:
x.getGlobalVariable=function(X){return"page"==X&&null!=D&&null!=D[A]?D[A].getAttribute("name"):"pagenumber"==X?A+1:"pagecount"==X?null!=D?D.length:1:K.apply(this,arguments)};x.getLinkForCell=function(){return null};Editor.MathJaxRender&&x.model.addListener(mxEvent.CHANGE,mxUtils.bind(this,function(X,Z){b.editor.graph.mathEnabled&&Editor.MathJaxRender(x.container)}));var H={lines:11,length:15,width:6,radius:10,corners:1,rotate:0,direction:1,color:Editor.isDarkMode()?"#c0c0c0":"#000",speed:1.4,trail:60,