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.

Added: Jun 26, 2025, 4:50 PM
Updated: Jun 26, 2025, 7:13 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
7.7
remediation
0.0
relevance
0.2
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.