You need to sign in to do that
Don't have an account?
Anuj Joshi 42
Stored XSS issue in visualforce page
Hi All,
I have a visualforce code written like this.
I have tried all the possible methods and ways to resolve but In checkmarx report it is not getting eliminated.
Kindly provide me solution for this.
Thanks,
Anuj
I have a visualforce code written like this.
<apex:outputText escape="False" value="{!cr.Message__c}" rendered="{!(cr.Message__c)!= ''}"/>
I have tried all the possible methods and ways to resolve but In checkmarx report it is not getting eliminated.
Kindly provide me solution for this.
Thanks,
Anuj
Have you tried bellow options (Either 1 or 2) ?
1. HTMLENCODE in Visualforce page 2. Sample Chnages in VF page and Class (If option 1 not worked)
Let me know if still you are getting checkmarx scan issue.
The first option mentioned by Om Prakash seems a correct solution. Give it a try.