How to avoid XSS in this function ?
-
Hi,
I have a plugin I’m working on. A function is said to have XSS vulnerability.
The content of the function is as follows. I did the sanitization process as seen in this function. That is, “the process of cleaning or filtering your input data.”.What is cross site scripting in here, where is the cause of this risk ?
Code: Jdoodle
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to avoid XSS in this function ?’ is closed to new replies.