Skip to main content

RuoYi CVE-2025-14856

LOW
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-12-18 cna@vuldb.com
2.1
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with valid credentials
  2. Delivery
    Send crafted GET request to /monitor/cache/getnames
  3. Exploit
    Inject malicious code in fragment parameter
  4. Execution
    Endpoint parses unsanitized fragment
  5. Persist
    Code executes in application context
  6. Impact
    Information or resource access achieved

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Exploitation Conditions

SPECIFIC CONDITIONS: The attacker must possess valid RuoYi user credentials (PR:L per CVSS vector) - unauthenticated attackers cannot exploit this vulnerability. The /monitor/cache/getnames endpoint must be accessible and must process the fragment parameter in a way that interprets code-like input (non-default configuration or version-specific behavior). The vulnerable code injection occurs specifically in the fragment parameter of this endpoint; other parameters or endpoints are not indicated as affected. The endpoint must be enabled in the application configuration (some RuoYi deployments may disable monitoring endpoints). LIMITING FACTORS: Authentication requirement eliminates remote unauthenticated exploitation; only users with valid login credentials can trigger the vulnerability. The limited impact metrics (VC:L, VI:L, VA:L) suggest the code injection does not grant full system compromise or persistent execution.

Impact

This vulnerability presents a discrepancy between raw CVSS score (2.1) and exploitation signals. While the CVSS vector grants it a very low severity score with limited impact (VC:L, VI:L, VA:L), the publicly available exploit code (E:P in CVSS vector) and network attack vector could theoretically make it accessible to authenticated users. However, the EPSS score of 0.08% (22nd percentile) strongly suggests minimal real-world exploitation despite public disclosure, indicating the vulnerability is either difficult to exploit in practice, requires specific deployment configurations, or affects a narrow user base. The authentication requirement (PR:L) significantly reduces the attack surface compared to unauthenticated vulnerabilities. The 'Information Disclosure' tag in reported data conflicts somewhat with the 'code injection' description-verify whether the actual impact is information disclosure rather than code execution. CRITICAL DATA CONFLICT: Description claims code injection but CVSS impact bits (VI:L, VC:L, VA:L) suggest limited real impact; the Information Disclosure tag may indicate the true nature is data exposure rather than execution. Security teams should verify actual proof-of-concept impact before prioritizing.

Exploit ScenarioDerived

An authenticated user with valid RuoYi credentials accesses the application and navigates to or crafts a request to /monitor/cache/getnames with a malicious fragment parameter containing code injection payload (e.g., malicious expressions or scriptlet syntax). The vulnerable endpoint processes the fragment parameter without proper sanitization, allowing the injected code to be parsed and executed in the context of the application server, potentially exposing cached data or enabling further compromise depending on the actual execution context.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 29, 2026

Code injection in RuoYi up to version 4.8.1 via the /monitor/cache/getnames endpoint allows authenticated remote attackers to inject arbitrary code through the fragment parameter with low impact to confidentiality, integrity, and availability. The vulnerability requires valid user authentication (PR:L per CVSS 4.0 vector) and has publicly available exploit code, though EPSS scoring at 0.08% percentile (22nd percentile) indicates low real-world exploitation probability despite public disclosure.

RemediationAI

Upgrade RuoYi to a version beyond 4.8.1 once available from the project maintainers. As no specific patched version is confirmed in the available data, check the RuoYi GitHub repository (y_project/RuoYi) for release notes or security advisories. As an immediate compensating control, restrict network access to the /monitor/cache endpoint to trusted administrative networks using a Web Application Firewall (WAF) or reverse proxy, blocking requests to /monitor/cache/* from untrusted sources. Additionally, enforce strict input validation on the fragment parameter by implementing a whitelist of allowed characters and rejecting any requests containing special characters or code-like syntax. These controls introduce minimal functional impact since the cache monitoring function is typically administrative-only, but verify that legitimate administrative workflows do not depend on passing complex values in the fragment parameter.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

RuoYi is a Java-based rapid development framework for administrative systems. The vulnerability resides in the /monitor/cache/getnames endpoint, which fails to properly validate or sanitize the fragment parameter before processing it, leading to code injection (CWE-74: Improper Neutralization of Special Elements used in an Output Command). The attack vector is network-based (AV:N) with low attack complexity (AC:L), meaning the exploitation requires no special network conditions. The CVSS 4.0 vector indicates PR:L (low privilege requirement), meaning the attacker must possess valid user credentials to trigger the vulnerability.

Know when Ruoyi gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A security vulnerability has been detected in y_project RuoYi up to 4.8.1. The affected element is an unknown function of the file /monitor/cache/getnames. Such manipulation of the argument fragment leads to code injection. The attack can be executed remotely. The exploit has been disclosed publicly and may be used.

Threat Intelligence Overview

EPSS Score
0.1%
Top 78% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:ruoyi:ruoyi:*:*:*:*:*:*:*:*

More in Ruoyi

View all
CVE-2025-28412 CRITICAL POC
9.8 Apr 07

An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the /editSave method in SysNoticeControlle

CVE-2025-28410 CRITICAL POC
9.8 Apr 07

An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the cancelAuthUserAll method does not prop

CVE-2025-28406 CRITICAL POC
9.8 Apr 07

An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the jobLogId parameter. Rated critical sev

CVE-2025-28405 CRITICAL POC
9.8 Apr 07

An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the changeStatus method. Rated critical se

CVE-2025-28402 CRITICAL POC
9.8 Apr 07

An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the jobId parameter. Rated critical severi

CVE-2023-49371 CRITICAL POC
9.8 Dec 01

RuoYi up to v4.6 was discovered to contain a SQL injection vulnerability via /system/dept/edit. Rated critical severity

CVE-2022-4566 CRITICAL POC
9.8 Dec 16

A vulnerability, which was classified as critical, has been found in y_project RuoYi 4.7.5. Rated critical severity (CVS

CVE-2025-70985 CRITICAL POC
9.1 Jan 23

RuoYi v4.8.2 has an access control flaw in the update function allowing unauthorized attackers to modify arbitrary data

CVE-2025-28409 HIGH POC
8.8 Apr 07

An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the add method of the /add/{parentId} endp

CVE-2025-28407 HIGH POC
8.8 Apr 07

An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the edit method of the /edit/{dictId} endp

CVE-2025-56396 HIGH POC
8.8 Nov 26

An issue was discovered in Ruoyi 4.8.1 allowing attackers to gain escalated privileges due to the owning department havi

CVE-2022-23868 HIGH POC
7.8 Mar 30

RuoYi v4.7.2 contains a CSV injection vulnerability through ruoyi-admin when a victim opens .xlsx log file. Rated high s

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy