How do you avoid XSS vulnerabilities in ASP.Net (MVC)?

后端 未结 5 1942
庸人自扰
庸人自扰 2020-11-28 11:25

I recently noticed that I had a big hole in my application because I had done something like:

\" />
         


        
5条回答
  •  再見小時候
    2020-11-28 11:40

    Potentially Dangerous HTML Tags:

    While not an exhaustive list, the following commonly used HTML tags could allow a malicious user to inject script code:

    
    
    
    
    
    
                                     
                  
                
                              
        
    
            
             
    提交回复
    热议问题