CVE-2025-9412 Details
Description
A vulnerability was detected in lostvip-com ruoyi-go up to 2.1. This affects the function SelectListByPage of the file modules/system/dao/DictDataDao.go. The manipulation of the argument orderByColumn/isAsc results in sql injection. The attack can be launched remotely. The exploit is now public 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.com, affecting versions through 2.1. The issue arises in the 'SelectListByPage' function within 'modules/system/dao/DictDataDao.go'. The vulnerability allows for arbitrary SQL statements to be injected and executed, potentially leading to unauthorized data access or manipulation. This flaw can be exploited remotely, and the exploit is publicly available.
It is recommended to implement strict validation for sorting parameters, limiting fields to a predefined list and only allowing 'asc' or 'desc' for sorting directions. Additionally, use secure sorting methods provided by the ORM framework to prevent direct concatenation of user-inputted sorting strings into SQL queries. Applying these measures can help mitigate the risk of SQL injection vulnerabilities.
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/6 | [email protected] | Broken Link |
| https://github.com/on-theway/cve/issues/7 | [email protected] | Broken Link |
| https://vuldb.com/?ctiid.321253 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.321253 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.633704 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.633705 | [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] |