4.2.2. Hazards¶
When there is an XSS vulnerability, it may lead to the following situations:
The user’s cookie is obtained, which may contain sensitive information such as session ID. If there is no corresponding protection on the server side, the attacker can use the corresponding cookie to log in to the server.
An attacker can record the user’s keyboard input within certain limits.
Attackers perform dangerous operations as users through CSRF, etc.
XSS worm.
Get user browser information.
Use XSS vulnerabilities to scan the user’s intranet.