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:
T="curved sourcePerimeterSpacing targetPerimeterSpacing startArrow startFill startSize endArrow endFill endSize".split(" "),F=!1,K=!1;this.setDefaultStyle=function(P){try{y.getModel().isEdge(P)?K=!1:F=!1;var V=y.getCellStyle(P,!1),l=[],B=[],N;for(N in V)l.push(V[N]),B.push(N);y.getModel().isEdge(P)?y.currentEdgeStyle={}:y.currentVertexStyle={};this.fireEvent(new mxEventObject("styleChanged","keys",B,"values",l,"cells",[P],"force",!0));y.getModel().isEdge(P)?K=!0:F=!0}catch(Z){this.handleError(Z)}};