I am Facing Cross-Site Scripting(XSS) issues in Vera code report. I was using dompurify.sanitize() method and also allowed its attributes. Earlier when I was using this method on my code it was fixed but it again shows Cross-Site Scripting(XSS) issues in Vera code report. When I am removing attribute from dompurify.sanitize() then ,Cross-Site Scripting(XSS) issues doesn’t appear on report. I have struck on these issues please give me suggestion for this.
I am expecting solution for the above issues.
Avinash Keshri is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.