CVE-2025-9413 Details
Description
A flaw has been found in lostvip-com ruoyi-go up to 2.1. This impacts the function SelectListByPage of the file modules/system/system_router.go. This manipulation of the argument orderByColumn/isAsc causes sql injection. The attack may be initiated remotely. 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 the Ruoyi Background Management System (Golang version) developed by Lostvip. This issue affects versions through 2.1 and is present in the 'SelectListByPage' function within the 'modules/system/system_router.go' file. The vulnerability arises from improper handling of the 'orderByColumn' and 'isAsc' parameters, allowing attackers to inject arbitrary SQL commands. This flaw can be exploited remotely, potentially leading to unauthorized data access, data manipulation or deletion, and other severe consequences.
It is recommended to implement strict validation of input parameters, particularly for sorting and pagination. Use secure methods provided by the ORM framework to handle sorting, and establish range limits for pagination parameters to prevent abuse.
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 Aug 25, 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/8 | [email protected] | Broken Link |
| https://github.com/on-theway/cve/issues/9 | [email protected] | Broken Link |
| https://vuldb.com/?ctiid.321254 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.321254 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.633730 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.633731 | [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 9, 2025 | Initial Analysis | [email protected] |
| Aug 25, 2025 | New CVE Received | [email protected] |