CVE-2025-7901: yangzongzhuan RuoYi Swagger UI index.html cross site scripting

Published Jul 20, 2025
·
Updated

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.

Affected Software

3 affected components
yangzongzhuan RuoYi<=4.8.1
yangzongzhuan Swagger UI
Ruoyi Ruoyi<=4.8.1

Event History

Jul 20, 2025
CVE Published
via MITRE·03:32 PM
Data Sourced
via MITRE·03:32 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software
Jun 16, 58473
Event
via NVD·12:12 PM

Frequently Asked Questions

1

What is the severity of CVE-2025-7901?

CVE-2025-7901 has been rated as problematic.

2

How does CVE-2025-7901 affect the affected software?

CVE-2025-7901 affects the processing of the file /swagger-ui/index.html, leading to cross-site scripting vulnerabilities.

3

How do I fix CVE-2025-7901?

To fix CVE-2025-7901, ensure that the application is updated to a version higher than 4.8.1 or apply relevant patches to mitigate the vulnerability.

4

What is the exploit method for CVE-2025-7901?

The exploit method for CVE-2025-7901 involves manipulating the configUrl argument in Swagger UI.

5

Which software versions are affected by CVE-2025-7901?

CVE-2025-7901 affects yangzongzhuan RuoYi up to version 4.8.1 and possibly other associated Swagger UI components.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203