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:
`+an+"^"},test_match:function(Xt,an){var _n,dn,Nr;if(this.options.backtrack_lexer&&(Nr={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Nr.yylloc.range=this.yylloc.range.slice(0))),dn=Xt[0].match(/(?:\r\n?|\n).*/g),dn&&(this.yylineno+=dn.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:dn?dn[dn.length-1].length-dn[dn.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Xt[0].length},this.yytext+=Xt[0],this.match+=Xt[0],this.matches=Xt,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Xt[0].length),this.matched+=Xt[0],_n=this.performAction.call(this,this.yy,this,an,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),_n)return _n;if(this._backtrack){for(var Ft in Nr)this[Ft]=Nr[Ft];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Xt,an,_n,dn;this._more||(this.yytext="",this.match="");for(var Nr=this._currentRules(),Ft=0;Ft<Nr.length;Ft++)if(_n=this._input.match(this.rules[Nr[Ft]]),_n&&(!an||_n[0].length>an[0].length)){if(an=_n,dn=Ft,this.options.backtrack_lexer){if(Xt=this.test_match(_n,Nr[Ft]),Xt!==!1)return Xt;if(this._backtrack){an=!1;continue}else return!1}else if(!this.options.flex)break}return an?(Xt=this.test_match(an,Nr[dn]),Xt!==!1?Xt:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.