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:
q.init()}else{var C=function(J){return{id:J.id,isExt:!0,url:J.downloadUrl,title:J.title,imgUrl:J.thumbnailLink,changedBy:J.lastModifyingUserName,lastModifiedOn:J.modifiedDate}};p=new TemplatesDialog(c,function(J,F,O){var S=O.libs,K=O.clibs;c.pickFolder(c.mode,function(R){c.createFile(F,J,null!=S&&0<S.length?S:null,null,function(){c.hideDialog()},null,R,null,null!=K&&0<K.length?K:null)},null==c.stateArg||null==c.stateArg.folderId)},null,null,null,"user",function(J,F,O){var S=new Date;S.setDate(S.getDate()-