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:
Editor.createRoughCanvas=function(l){var z=rough.canvas({getContext:function(){return l}});z.draw=function(J){var O=J.sets||[];J=J.options||this.getDefaultOptions();for(var T=0;T<O.length;T++){var W=O[T];switch(W.type){case "path":null!=J.stroke&&this._drawToContext(l,W,J);break;case "fillPath":this._drawToContext(l,W,J);break;case "fillSketch":this.fillSketch(l,W,J)}}};z.fillSketch=function(J,O,T){var W=l.state.strokeColor,V=l.state.strokeWidth,S=l.state.strokeAlpha,X=l.state.dashed,Z=T.fillWeight;