Home › Vulnerabilities › yangzongzhuan
RuoYi Up to 4.8.3: Two Public Cross-Site Scripting Flaws in Menu Management
Two cross-site scripting vulnerabilities affect yangzongzhuan RuoYi up to version 4.8.3, both in the Menu Management component and both reportedly remotely exploitable with public exploit code. NVD rates both LOW (CVSS 2.0).
What to look into
- 2 vulnerabilities in yangzongzhuan RuoYi: 2 low (CVSS up to 2.0).
- None of them is known to be exploited yet.
- Start with CVE-2026-140057 (2.0 low): A vulnerability was detected in yangzongzhuan RuoYi up to 4.8.3. The impacted element is an unknown function of the file ruoyi-admin/src/main/resources/templates/system/menu/menu.html of the componen… An attacker with a normal user account can exploit this over the network if a user views or visits something.
- 0 of 2 can be attacked over the network without logging in.
- Kinds of flaws: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (×2); Improper Control of Generation of Code ('Code Injection') (×2).
Key points
- Two XSS flaws in yangzongzhuan RuoYi up to 4.8.3, both in Menu Management.
- CVE-2026-140057 is in menu.html via the icon argument; CVE-2026-140056 is in index.js via the menuName argument.
- Both are rated LOW (CVSS 2.0) by NVD, and both have public exploits that may be used.
- The records do not state a fixed version or workaround for either flaw.
Two cross-site scripting (XSS) vulnerabilities in yangzongzhuan RuoYi were published by NVD on 2026-12-01. Both affect RuoYi up to and including 4.8.3 and both sit in the Menu Management component. Both are rated LOW (CVSS 2.0) in the NVD records, and both are described as remotely triggerable with a public exploit that may be used.
What the flaws are
Both records describe the same class of weakness: user-supplied input is not handled safely in a page or script, so it can be interpreted as active content in a user's browser.
- CVE-2026-140057 affects the menu template at ruoyi-admin/src/main/resources/templates/system/menu/menu.html. Manipulating the icon argument reportedly results in XSS.
- CVE-2026-140056 affects the menuItem function in ruoyi-admin/src/main/resources/static/ruoyi/index.js, which renders sidebar tabs. Manipulating the menuName argument reportedly leads to XSS. The vendor was contacted early about this disclosure but, according to the record, did not respond.
Who is affected and what is known
The records apply to RuoYi installations up to 4.8.3. Neither record describes exploitation in the wild, and neither states any impact beyond script execution in the context of the affected page. The sources do not give details of the attack steps, and the NVD entry for CVE-2026-140057 names a patch commit, 04db82c3c85593921ab8be48a4b3016866eaa97e. The records do not state a fixed release version for either issue, and they give no workaround or detection guidance.
Practical priority
Despite the low scores, the public exploit status means administrators running affected versions should not leave these open indefinitely. Because the menu handling is part of the administrative interface, a successful script injection there could be used against users who open the affected pages.
What to do
- Apply the patch referenced for CVE-2026-140057, commit 04db82c3c85593921ab8be48a4b3016866eaa97e, as the source advises.
- Check the vendor or project for a fixed release covering both CVE-2026-140057 and CVE-2026-140056, since the records do not name one.
The 2 vulnerabilities
- CVE-2026-140057 2.0 A vulnerability was detected in yangzongzhuan RuoYi up to 4.8.3. The impacted element is an unknown function of the file ruoyi-admin/src/main/resources/templates/system/menu/menu.html of the component Menu Management. The manipulation of t…
- CVE-2026-140056 2.0 A security vulnerability has been detected in yangzongzhuan RuoYi up to 4.8.3. The affected element is the function menuItem of the file ruoyi-admin/src/main/resources/static/ruoyi/index.js of the component Menu Management Sidebar Tab Rend…
Frequently asked questions
How many yangzongzhuan RuoYi vulnerabilities were published on December 1, 2026?
2 vulnerabilities: 2 low, with CVSS scores up to 2.0.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-140057 (CVSS 2.0): A vulnerability was detected in yangzongzhuan RuoYi up to 4.8.3. The impacted element is an unknown function of the file ruoyi-admin/src/main/resources/templates/system/menu/menu.html of the componen…