You need to sign in to do that
Don't have an account?
Shruti Nigam
How to solve Query: Stored XSS Or cross-site scripting...??
Hi all,
I have given my code for securtiy scan and i have following error for stored XSS.
I had solved most of the error but stuck on this.
Anyone know how to solve this ?
Thanks in advance.
I have given my code for securtiy scan and i have following error for stored XSS.
I had solved most of the error but stuck on this.
Anyone know how to solve this ?
Object: select in file: classes/DetailTemplate.cls L 59: Activity_Template__c acti = [Select Template_Type__c,For_Which_Object__c,All_Day_Event__c from Activity_Template__c Where Id =: ApexPages.currentPage().getParameters().get('id')]; Object: template_type__c in file: classes/DetailTemplate.cls L 60: typestring = acti.Template_Type__c; Object: forobjectval187 in file: pages/DetailTemplate.page L 71: if('{!typestring}' == "Appointment"){ Object: typestring in file: classes/DetailTemplate.cls L 4: public string typestring{get;set;} Object: gettypestring in file: pages/DetailTemplate.page L 71: if('{!typestring}' == "Appointment"){
Thanks in advance.