Language: JavaScript
Label: vulnerable
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:
var CommentsWindow=function(b,e,f,c,k,l){function u(){for(var N=v.getElementsByTagName("div"),P=0,R=0;R<N.length;R++)"none"!=N[R].style.display&&N[R].parentNode==v&&P++;B.style.display=0==P?"block":"none"}function x(N,P,R,M){function p(){P.removeChild(L);P.removeChild(m);C.style.display="block";y.style.display="block"}n={div:P,comment:N,saveCallback:R,deleteOnCancel:M};var y=P.querySelector(".geCommentTxt"),C=P.querySelector(".geCommentActionsList"),L=document.createElement("textarea");L.className=