Language: JavaScript
Label: vulnerable
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:
mxStencilRegistry.getStencil(Z)}return G.apply(this,arguments)};var P=mxStencil.prototype.drawShape;mxStencil.prototype.drawShape=function(m,B,K,R,U,W){"1"==mxUtils.getValue(B.style,"lineShape",null)&&m.setFillColor(mxUtils.getValue(B.style,mxConstants.STYLE_STROKECOLOR,this.stroke));return P.apply(this,arguments)};PrintDialog.prototype.create=function(m,B){function K(){da.value=Math.max(1,Math.min(V,Math.max(parseInt(da.value),parseInt(ca.value))));ca.value=Math.max(1,Math.min(V,Math.min(parseInt(da.value),