RCE in Ruoyi
CVE-2025-7901
A vulnerability was found in yangzongzhuan RuoYi up to 4.8.1. It has been rated as problematic. This issue affects some unknown processing of the file /swagger-ui/index.html of the component Swagger UI. The manipulation of the argument configUrl leads to cross site scripting. The attack may be initiated remotely.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.007 (50.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.
Affected products
- Ruoyi
- Yangzongzhuan Ruoyi — versions 4.8.0, 4.8.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cna@vuldb.com (technical-description, VDB Entry, Third Party Advisory, vdb-entry)
- cna@vuldb.com (signature, Permissions Required, permissions-required, VDB Entry)
- cna@vuldb.com (VDB Entry, Third Party Advisory, third-party-advisory)
- cna@vuldb.com (issue-tracking, Exploit, Issue Tracking, Vendor Advisory)
Frequently asked questions
- What is CVE-2025-7901?
- CVE-2025-7901 is a medium-severity vulnerability in Ruoyi, classified under Cross-site Scripting. CVSS score: 4.3/10. Published 2025-07-20.
- How severe is CVE-2025-7901?
- Medium severity. CVSS v3 base score is 4.3 out of 10.
- Is CVE-2025-7901 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.