CVE-2025-7902 Details
Description
A vulnerability classified as problematic has been found in yangzongzhuan RuoYi up to 4.8.1. Affected is the function addSave of the file com/ruoyi/web/controller/system/SysNoticeController.java. The manipulation leads to cross site scripting. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
A stored cross-site scripting vulnerability has been identified in yangzongzhuan RuoYi versions through 4.8.1. The issue resides in the SysNoticeController's addSave function, where user input is not properly sanitized before being saved to the database. This unsanitized input is later displayed to users, triggering the XSS payloads. The vulnerability can be exploited remotely, but requires user interaction.
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/294 | CISA-ADP | Exploit |
| https://github.com/yangzongzhuan/RuoYi/issues/294 | [email protected] | Exploit |
| https://github.com/yangzongzhuan/RuoYi/issues/294#issue-3211205807 | [email protected] | Exploit |
| https://vuldb.com/?ctiid.317016 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.317016 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.618354 | [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
6 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] |
| Aug 8, 2025 | Initial Analysis | [email protected] |
| Jul 21, 2025 | CVE Modified | CISA-ADP |
| Jul 20, 2025 | New CVE Received | [email protected] |