wx-shop Cross-Site Scripting Vulnerability

Vulnerability

A stored cross-site scripting vulnerability has been identified in wx-shop versions up to de1b66331368695779cfc6e4d11a64caddf8716e. The issue arises in the file '/user/editUI', where user input is not properly validated or sanitized before being processed by the '/user/saveUser' API. This lack of filtering allows malicious scripts to be injected, stored in the database, and executed when the data is retrieved and displayed in the browser.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user.

Reproduction

To reproduce this vulnerability, log into the application as an admin user. Navigate to the '/user/editUI' page and use the interface to add a new user. Input a username that includes a script tag, such as one containing JavaScript code, and a password. Once the form is submitted, the injected script will be executed when the user data is accessed.

Added: Aug 3, 2025, 9:17 AM
Updated: Aug 3, 2025, 9:17 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
7.7
remediation
0.0
relevance
0.3
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.