Cross-Site Scripting (XSS)
Cross-site scripting is a type of computer safety measures vulnerability. A cross-site scripting vulnerability may be used by attackers to overcome access controls such as the same-origin policy. Cross-site scripting carried out on websites.
Cross-site scripting attacks utilizes well-known vulnerabilities in web-based applications. Exploiting one of these, attackers fold spiteful content into the content being delivered from the compromised site. When the resulting combined content arrives at the client-side browser, it is been delivered from the trusted source. It operates under the permissions granted to the system. An attacker can gain elevated access-privileges to sensitive page content By finding ways of injecting spiteful scripts into web pages. Cross-site scripting attacks are a type of code injection.