Language: JavaScript
Label: safe
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:
W){var ba=P.getGlobalVariable;P=this.createTemporaryGraph(P.getStylesheet());for(var ca,qa=0;qa<this.pages.length;qa++)if(this.pages[qa].getId()==W){ca=this.updatePageRoot(this.pages[qa]);break}null==ca&&(ca=this.currentPage);P.getGlobalVariable=function(wa){return"page"==wa?ca.getName():"pagenumber"==wa?1:ba.apply(this,arguments)};document.body.appendChild(P.container);P.model.setRoot(ca.root)}if(null!=B.layerIds){var ka=P.model,Aa=ka.getChildCells(ka.getRoot()),xa={};for(qa=0;qa<B.layerIds.length;qa++)xa[B.layerIds[qa]]=