Xuxueli XXL-SSO Cross-Site Scripting Vulnerability in Login Endpoint
Vulnerability
A cross-site scripting (XSS) vulnerability has been identified in Xuxueli XXL-SSO version 1.1.0. The issue occurs in the login endpoint of the application, where user-supplied input in the 'errorMsg' argument is not properly sanitized before being outputted as HTML. This lack of input validation allows for the injection of arbitrary JavaScript, which could be executed in the context of the user's browser. The vulnerability can be exploited remotely without authentication, although it requires user interaction.
Impact
Exploitation of this vulnerability allows for cross-site scripting, where an attacker can inject malicious scripts that are executed in the context of the affected user.
Reproduction
To reproduce this vulnerability, send a request to the '/xxl-sso-server/login' endpoint with a crafted 'errorMsg' parameter that includes JavaScript code. The injected script will be executed in the user's browser, demonstrating the cross-site scripting vulnerability.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
