Language: JavaScript
Label: safe
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:
mxStencilRegistry.parseStencilSet=function(b,e,g){if("stencils"==b.nodeName)for(var n=b.firstChild;null!=n;)"shapes"==n.nodeName&&mxStencilRegistry.parseStencilSet(n,e,g),n=n.nextSibling;else{g=null!=g?g:!0;n=b.firstChild;var y="";b=b.getAttribute("name");for(null!=b&&(y=b+".");null!=n;){if(n.nodeType==mxConstants.NODETYPE_ELEMENT&&(b=n.getAttribute("name"),null!=b)){y=y.toLowerCase();var q=b.replace(/ /g,"_");g&&mxStencilRegistry.addStencil(y+q.toLowerCase(),new mxStencil(n));if(null!=e){var E=n.getAttribute("w"),
L=n.getAttribute("h");E=null==E?80:parseInt(E,10);L=null==L?80:parseInt(L,10);e(y,q,b,E,L)}}n=n.nextSibling}}};