Skip to main content

Questions tagged [stored-xss]

3 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers
61 views

How to resolve Stored/Reflected XSS for arguments passed to JS functions in a VF page?

Overview: I am looking for ways to bypass Stored/Reflected XSS issues that are showing up as part of CheckMarx Scan report for the arguments passed to js functions in a VF Page, given that queries in ...
Arnab Kanti Roy's user avatar
1 vote
1 answer
488 views

How do I fix Stored XSS error in salesforce?

The CheckMarx security scanner says that this line is a Stored XSS vulnerability. if(!{!acc.IsActive__c} && reqNDA == 'true' && document.getElementById(elem).checked){ in the ...
Murali Mohan Mandadi's user avatar
0 votes
0 answers
24 views

How to resolve JSON serialized object for Stored XSS in checkmarx scanner

We are trying to use JSON serialized Sobject in our VF page. Checkmarx is throwing out an Stored XSS error. We are querying a Sobject and using that JSON.Serailized object in our js in Vf page. Class: ...
Prady's user avatar
  • 12.4k