CVE-2025-10218 Details
Description
A flaw has been found in lostvip-com ruoyi-go 2.1. This affects the function SelectListPage of the file modules/system/dao/SysRoleDao.go of the component Background Management Page. This manipulation of the argument sortName causes sql injection. Remote exploitation of the attack is possible. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
A SQL injection vulnerability has been identified in Lostvip-com Ruoyi-go version 2.1. The issue arises in the Background Management Page, specifically within the 'SelectListPage' function of 'modules/system/dao/SysRoleDao.go'. The vulnerability allows remote exploitation by manipulating the 'sortName' parameter, leading to unauthorized SQL command execution. This flaw is exacerbated by the absence of input validation and parameter restrictions, enabling attackers to inject arbitrary SQL statements.
It is recommended to implement strict validation for sorting parameters, allowing only predefined legitimate fields and restricting sorting directions to 'asc' or 'desc'. Additionally, use secure sorting methods provided by the ORM framework to prevent direct concatenation of user-input sorting strings into SQL statements.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 11, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/on-theway/cve/issues/10 | [email protected] | Broken Link |
| https://vuldb.com/?ctiid.323486 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.323486 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.641027 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| lostvip ruoyi-go | 2.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Oct 16, 2025 | Initial Analysis | [email protected] |
| Sep 10, 2025 | New CVE Received | [email protected] |