Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-67342: n/a

0
Medium
VulnerabilityCVE-2025-67342cvecve-2025-67342
Published: Fri Dec 12 2025 (12/12/2025, 00:00:00 UTC)
Source: CVE Database V5

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

AILast updated: 12/19/2025, 17:44:09 UTC

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.

Need more detailed analysis?Upgrade to Pro Console

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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.

Latest Threats