CVE-2025-67342: n/a
RuoYi versions 4.8.1 and earlier is affected by a stored XSS vulnerability in the /system/menu/edit endpoint. While the endpoint is protected by an XSS filter, the protection can be bypassed. Additionally, because the menu is shared across all users, any user with menu modification permissions can impact all users by exploiting this stored XSS vulnerability.
AI Analysis
Technical Summary
CVE-2025-67342 identifies a stored Cross-Site Scripting (XSS) vulnerability in RuoYi, an enterprise-level Java-based management framework widely used for building internal management systems. The vulnerability exists in the /system/menu/edit endpoint, which allows users with menu modification permissions to edit menu entries. Although an XSS filter is implemented to sanitize inputs, it can be bypassed, enabling an attacker to inject malicious JavaScript payloads that are stored persistently. Because the menu is shared across all users, the injected script executes in the browsers of all users who access the menu, potentially leading to session hijacking, credential theft, or unauthorized actions performed on behalf of users. Exploitation requires the attacker to have legitimate menu modification rights and some user interaction to trigger the payload. The CVSS score of 4.6 (medium severity) reflects that the attack vector is network-based, requires low privileges, and user interaction, with limited impact on confidentiality and integrity but no impact on availability. No public exploits have been reported yet, but the vulnerability poses a risk especially in environments where multiple users share the same menu interface and where privilege separation is weak. The vulnerability is classified under CWE-79, indicating improper neutralization of input during web page generation. The lack of a patch link suggests that a fix may not yet be publicly available, emphasizing the need for immediate mitigation steps by administrators.
Potential Impact
For European organizations, the impact of CVE-2025-67342 can be significant in environments where RuoYi is deployed for internal management or customer-facing portals. Exploitation could lead to unauthorized script execution in users’ browsers, resulting in session hijacking, theft of sensitive information such as authentication tokens or personal data, and potential lateral movement within the network. Since the menu is shared, a single compromised user with menu modification rights can affect all users, amplifying the risk. This can undermine trust in internal systems, lead to data breaches, and cause compliance issues under GDPR due to unauthorized data exposure. The medium severity score reflects moderate risk, but the shared nature of the menu and the persistence of the injected payload increase the potential impact. Organizations with large user bases or critical business functions tied to RuoYi systems may face operational disruptions or reputational damage if exploited.
Mitigation Recommendations
1. Immediately audit and restrict menu modification permissions to only trusted and essential personnel to reduce the attack surface. 2. Implement additional input validation and sanitization mechanisms beyond the existing XSS filter, such as context-aware encoding and use of security libraries that enforce strict input constraints. 3. Monitor logs and user activities related to menu edits for suspicious or anomalous behavior indicative of exploitation attempts. 4. Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in browsers. 5. Isolate critical user roles and consider multi-factor authentication (MFA) for users with elevated privileges. 6. Stay updated with vendor advisories for patches or updates addressing this vulnerability and apply them promptly once available. 7. Conduct regular security training to raise awareness among users with modification rights about the risks of XSS and safe coding practices. 8. Consider implementing web application firewalls (WAF) with rules tailored to detect and block XSS payloads targeting the /system/menu/edit endpoint.
Affected Countries
Germany, France, United Kingdom, Netherlands, Italy, Spain
CVE-2025-67342: n/a
Description
RuoYi versions 4.8.1 and earlier is affected by a stored XSS vulnerability in the /system/menu/edit endpoint. While the endpoint is protected by an XSS filter, the protection can be bypassed. Additionally, because the menu is shared across all users, any user with menu modification permissions can impact all users by exploiting this stored XSS vulnerability.
AI-Powered Analysis
Technical Analysis
CVE-2025-67342 identifies a stored Cross-Site Scripting (XSS) vulnerability in RuoYi, an enterprise-level Java-based management framework widely used for building internal management systems. The vulnerability exists in the /system/menu/edit endpoint, which allows users with menu modification permissions to edit menu entries. Although an XSS filter is implemented to sanitize inputs, it can be bypassed, enabling an attacker to inject malicious JavaScript payloads that are stored persistently. Because the menu is shared across all users, the injected script executes in the browsers of all users who access the menu, potentially leading to session hijacking, credential theft, or unauthorized actions performed on behalf of users. Exploitation requires the attacker to have legitimate menu modification rights and some user interaction to trigger the payload. The CVSS score of 4.6 (medium severity) reflects that the attack vector is network-based, requires low privileges, and user interaction, with limited impact on confidentiality and integrity but no impact on availability. No public exploits have been reported yet, but the vulnerability poses a risk especially in environments where multiple users share the same menu interface and where privilege separation is weak. The vulnerability is classified under CWE-79, indicating improper neutralization of input during web page generation. The lack of a patch link suggests that a fix may not yet be publicly available, emphasizing the need for immediate mitigation steps by administrators.
Potential Impact
For European organizations, the impact of CVE-2025-67342 can be significant in environments where RuoYi is deployed for internal management or customer-facing portals. Exploitation could lead to unauthorized script execution in users’ browsers, resulting in session hijacking, theft of sensitive information such as authentication tokens or personal data, and potential lateral movement within the network. Since the menu is shared, a single compromised user with menu modification rights can affect all users, amplifying the risk. This can undermine trust in internal systems, lead to data breaches, and cause compliance issues under GDPR due to unauthorized data exposure. The medium severity score reflects moderate risk, but the shared nature of the menu and the persistence of the injected payload increase the potential impact. Organizations with large user bases or critical business functions tied to RuoYi systems may face operational disruptions or reputational damage if exploited.
Mitigation Recommendations
1. Immediately audit and restrict menu modification permissions to only trusted and essential personnel to reduce the attack surface. 2. Implement additional input validation and sanitization mechanisms beyond the existing XSS filter, such as context-aware encoding and use of security libraries that enforce strict input constraints. 3. Monitor logs and user activities related to menu edits for suspicious or anomalous behavior indicative of exploitation attempts. 4. Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in browsers. 5. Isolate critical user roles and consider multi-factor authentication (MFA) for users with elevated privileges. 6. Stay updated with vendor advisories for patches or updates addressing this vulnerability and apply them promptly once available. 7. Conduct regular security training to raise awareness among users with modification rights about the risks of XSS and safe coding practices. 8. Consider implementing web application firewalls (WAF) with rules tailored to detect and block XSS payloads targeting the /system/menu/edit endpoint.
Affected Countries
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2025-12-08T00:00:00.000Z
- Cvss Version
- null
- State
- PUBLISHED
Threat ID: 693c43d3dc37602712bdbc2c
Added to database: 12/12/2025, 4:33:23 PM
Last enriched: 12/19/2025, 5:44:09 PM
Last updated: 2/3/2026, 10:08:30 AM
Views: 50
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-8461: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in Seres Software syWEB
HighResearchers Find 341 Malicious ClawHub Skills Stealing Data from OpenClaw Users
MediumCVE-2025-8456: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in Kod8 Software Technologies Trade Ltd. Co. Kod8 Individual and SME Website
HighCVE-2024-34021: Unrestricted upload of file with dangerous type in ELECOM CO.,LTD. WRC-1167GST2
MediumCVE-2024-25579: OS command injection in ELECOM CO.,LTD. WRC-1167GS2-B
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.