Public Exploit Released for Medium-Severity XSS Flaw in RuoYi Menu Management

A cross-site scripting vulnerability in the RuoYi framework has been assigned CVE-2026-140056. The flaw allows remote attackers to inject malicious scripts via the menuName argument in the Menu Management Sidebar Tab Renderer. A public exploit is available, and the vendor has not responded to the disclosure.
Key points
- CVE-2026-140056 affects yangzongzhuan RuoYi versions 4.8.0 through 4.8.3.
- The vulnerability resides in the menuItem function of the file ruoyi-admin/src/main/resources/static/ruoyi/index.js.
- Attackers can exploit the flaw by manipulating the menuName argument to initiate a cross-site scripting attack remotely.
- The CVSS 4.0 score is 5.1 (Medium), while the CVSS 3.1 score is 3.5 (Low).
- Exploitation requires low privileges and passive user interaction, with no impact on confidentiality or availability.
- The vendor was contacted early about the disclosure but did not respond, leaving no official patch available.
Background
RuoYi is an open-source Java rapid development framework created by yangzongzhuan, widely used for permission management and rapid application development. Recent security disclosures have highlighted multiple cross-site scripting vulnerabilities in similar frameworks, including RuoYi and SpringBlade, often with public exploits available and no vendor response. The affected versions (4.8.0-4.8.3) are the latest releases of the non-separated RuoYi framework, with v4.8.3 last updated in March 2026.
Why it matters
The availability of a public exploit for a medium-severity vulnerability in a widely used framework like RuoYi poses a significant risk to organizations relying on the system. The lack of vendor response means users must apply mitigations or upgrade to patched versions independently to prevent potential data integrity issues.
What to watch
Users of RuoYi versions 4.8.0 through 4.8.3 should monitor for a patch from the vendor or apply manual mitigations to neutralize the menuName argument in the affected file. Given the public exploit, immediate action is recommended to prevent potential cross-site scripting attacks.
Want the full story? Read the original reporting
Read on CVEs | Zero Wire | Cloudflare Radar