S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
medium·Product Based Web Vulnerabilities·Updated Nov 24, 2025

CVE-2025-7901 Scanner

CVE-2025-7901 Scanner - Cross-Site Scripting (XSS) vulnerability in yangzongzhuan RuoYi

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
2.6k
Times Used
continuous scan runs
4.7k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2025-7901
5.3
CVSSmedium
Exploitable remotely over the internet · no authentication required.

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.

Attack Vector
Network
Privileges Req.
None
User Interaction
P
Affected
RuoYiby yangzongzhuan
4.8.0
Updated Aug 22, 2026View on NVD →
Detail

RuoYi, developed by Yangzongzhuan, is a popular open-source enterprise management system used by organizations to streamline their business operations. It offers a comprehensive suite of features that allow businesses to manage data, automate tasks, and enhance overall productivity. Due to its customizable nature and user-friendly interface, RuoYi has gained popularity among developers and companies seeking efficient solutions. The software is primarily used in administrative environments to manage employee records, customer data, and business transactions. It integrates with various third-party applications to extend its functionality and improve user experience. RuoYi's scalability and modular design make it suitable for small to large enterprises aiming for digital transformation.

The Cross-Site Scripting (XSS) vulnerability present in yangzongzhuan RuoYi version 4.8.1 allows attackers to execute arbitrary scripts within a user's browser. This vulnerability, categorized under DOM-based XSS, involves the manipulation of the "configUrl" argument in the Swagger UI's index.html file. Attackers can exploit this flaw to execute malicious codes, consequently compromising the victim's browser environment. XSS vulnerabilities can lead to stolen cookies, session hijacking, and unauthorized actions performed on behalf of users. This particular weakness stems from improper sanitation of user inputs, leading to potential script injection. As the vulnerability requires a crafted request, attackers can remotely execute their payloads on unsuspecting users.

Technically, the vulnerability was found in the "configUrl" parameter of the Swagger UI's endpoint located at /swagger-ui/index.html. When an attacker crafts a URL with the manipulated parameter, it bypasses input validation checks within the application. Upon accessing the malicious URL, the injected script executes within the victim's web browser, enabling the attacker to gain access to sensitive data and perform unauthorized operations. The parameter is susceptible due to insufficient input validation and output encoding at the specified endpoint. To mitigate this issue, users are advised to update to versions beyond 4.8.1, where input sanitation has been improved. The endpoint in question is pivotal to RuoYi's Swagger interface, underscoring the need for secure API documentation implementations.

When exploited, the XSS vulnerability can have several significant impacts on the affected system and its users. Users may become victims of phishing campaigns or identity theft if attackers access sensitive data like login credentials or personal information. Additionally, persistent scripts could alter the appearance or behavior of the web application, causing confusion and disruption in regular operations. Malicious actors can perform actions on behalf of authenticated users, potentially triggering unauthorized transactions or data modifications. A compromised session might lead to privilege escalation, allowing attackers to gain higher access within the system. Lastly, the organization's reputation can be severely tarnished due to the breach of security, leading to financial and trust-related consequences.

REFERENCES

Solution Advice
  • Update yangzongzhuan RuoYi to the latest available version beyond 4.8.1.
  • Implement input validation and output encoding in the Swagger UI to mitigate XSS vulnerabilities.
  • Regularly audit and test web applications for potential security vulnerabilities.
  • Educate users and developers on secure coding practices to prevent similar issues in the future.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.