In today’s world web applications are very important for our daily routine and many other activities are relay on the security of these web applications. Due to lack of security most of web applications are still vulnerable with the CSRF vulnerability. Cross-site request forgery (CSRF/XSRF) is vulnerability that is found in most of web applications. Without the knowledge of user it can allow an attacker that will perform unauthorized activities by which an attacker can manipulate your private data, Like if any user can send email to his colleague then the vulnerable web application do the same thing. Still it is hard to detect CSRF Vulnerability. In this paper we will understand the vulnerability of CSRF and how to detect CSRF Vulnerability in URL of web application using Python Script.