CVE-2025-7902: yangzongzhuan RuoYi · Cross Site Scripting
Affects yangzongzhuan RuoYiSource CVE Database V5
Not known to be exploited · CVSS 5.1 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 24% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 20 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubyangzongzhuan/RuoYipkg:github/yangzongzhuan/RuoYiOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately audit their use of the RuoYi framework, specifically checking for versions 4.8.0 and 4.8.1. In the absence of an official patch, developers must implement strict input validation and output encoding in the addSave function of SysNoticeController.java to neutralize malicious scripts. Employing security libraries or frameworks that automatically handle XSS prevention is recommended. Additionally, implementing Content Security Policy (CSP) headers can mitigate the impact of injected scripts by restricting script execution sources. Organizations should also conduct thorough penetration testing and code reviews to identify similar vulnerabilities elsewhere in their applications. User awareness training to recognize suspicious links or inputs can reduce the likelihood of successful exploitation. Monitoring web application logs for unusual input patterns or error messages related to the vulnerable endpoint can help detect attempted attacks early.
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.