CVE-2025-7901 Details
Description
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.
A cross-site scripting (XSS) vulnerability has been identified in Yangzongzhuan RuoYi versions through 4.8.1. This issue arises from improper access control on Swagger-related interfaces, allowing unauthenticated access to internal API documentation. The vulnerability is located in the Swagger UI component, specifically within the file '/swagger-ui/index.html'. The XSS is triggered by manipulating the 'configUrl' parameter, which is not properly sanitized before being rendered, enabling the execution of JavaScript payloads.
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 Jul 21, 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/yangzongzhuan/RuoYi/issues/293 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://vuldb.com/?ctiid.317015 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.317015 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.618353 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ruoyi ruoyi | <= 4.8.1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 11, 2025 | Initial Analysis | [email protected] |
| Jul 20, 2025 | New CVE Received | [email protected] |