| Title | youlaitech youlai-boot v2.21.1 SQL Injection |
|---|
| Description | youlai-boot contains a SQL injection vulnerability in the user list sorting functionality. The GET /api/v1/users endpoint accepts user-controlled sorting parameters through UserQuery. Although sortBy is restricted by a whitelist validator, the order parameter is not validated and is concatenated directly into the final SQL statement through MyBatis ${} string interpolation. |
|---|
| Source | ⚠️ https://fx4tqqfvdw4.feishu.cn/docx/EBZLdUqt4ogm4Px7jxuck1RQnHe?from=from_copylink |
|---|
| User | xcxr (UID 86629) |
|---|
| Submission | 04/09/2026 03:14 (3 months ago) |
|---|
| Moderation | 05/02/2026 10:21 (23 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 360825 [youlaitech youlai-boot up to 2.21.1 Users Endpoint UserController.java getUserList order sql injection] |
|---|
| Points | 20 |
|---|