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:
c.sidebar.showPalette("search",!l);isLocalStorage&&(mxSettings.settings.search=!l,mxSettings.save())});B.label=mxResources.get("searchShapes");B.setToggleAction(!0);B.setSelectedCallback(function(){return c.sidebar.isEntryVisible("search")});c.actions.get("clearDefaultStyle").funct=function(l){k.isEnabled()&&(c.clearDefaultStyle(),Editor.sketchMode&&c.setSketchMode(!1))};"1"==urlParams.embed&&(c.actions.get("save").funct=function(l){k.isEditing()&&k.stopEditing();var y="0"!=urlParams.pages||null!=