I have found this issue when I have given my code to Code Scanner
Reflected XSS
This is basically because of two things
Map<string,string> params =
ApexPages.currentPage().getParameters();
var validAddress = '{!validAddress}';// it is in VF Page where valid Address is String in apex class
How can I resolve this issue?