Skip to main content

RuoYi-Vue-Pro CVE-2026-97322

| EUVDEUVD-2026-86398 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-09-24 VulDB GHSA-p57x-v67h-48j2
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Reach admin file-upload endpoint
  2. Delivery
    Submit file with crafted XSS payload
  3. Exploit
    Payload stored/reflected without encoding
  4. Execution
    Victim views file in management UI
  5. Impact
    Script executes in victim browser session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires interaction with the File Upload feature implemented in yudao-module-infra FileController.java of ruoyi-vue-pro (versions up to 2026.08), where uploaded file data (such as filename or content) is later rendered in the admin/management interface without adequate output encoding, producing cross-site scripting. The flaw is stored/reflected XSS, so it is limited by the need for a victim to view the malicious content (UI:P), and - despite VulDB's PR:N scoring - the endpoint resides under the admin controller path, meaning realistic exploitation likely also depends on an accessible upload endpoint and an authenticated victim viewing the file; no vendor patch is available.

Impact

This is a genuinely modest-severity issue that the raw CVSS 4.0 score of 5.3 already reflects. The provided vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N) describes a network-reachable, low-complexity cross-site scripting flaw with only limited integrity impact (VI:L) and no confidentiality or availability impact, requiring passive user interaction (UI:P). Exploitation status: publicly available exploit code exists (E:P / VulDB reports the exploit has been made public); there is no CISA KEV listing and no EPSS score in the supplied data, so this is not confirmed actively exploited - treat POC availability and active exploitation as distinct signals. A key conflict to verify with the vendor: the vulnerable code lives in the ADMIN file-upload controller (controller/admin/file/FileController.java), which normally implies authentication, yet VulDB scored it PR:N (unauthenticated) - this PR:N is likely too generous and should be independently verified, since a stored XSS reached only through an authenticated admin upload endpoint is materially lower risk than an unauthenticated one. The source is a single low-signal VulDB submission with no corroborating vendor advisory, and the vendor was contacted but did not respond, so there is no patched version. Net: a real but low-priority XSS, not a high-CVSS-but-inflated critical issue.

Exploit ScenarioDerived

An attacker interacts with the File Upload component exposed by FileController.java and supplies a crafted file (e.g., a malicious filename or file content that is later rendered without proper output encoding), planting a script payload. When an administrator or another user views the file listing or the uploaded resource in the management UI, the script executes in their browser session. A public proof-of-concept exists per VulDB, though exploitation requires the victim to view the tainted content (UI:P).

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

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

Alert me

AnalysisAIv1 – Sep 24, 2026

Cross-site scripting in RuoYi-Vue-Pro (all versions up to 2026.08) allows remote attackers to inject script through the File Upload component implemented in yudao-module-infra/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/file/FileController.java, which is later rendered in the administrative interface without adequate output encoding. Publicly available exploit code exists and the vendor was contacted but did not respond, so no vendor patch is available at time of analysis. Exploitation requires a victim to view the malicious file content (UI:P) and, per our independent assessment, realistically also depends on access to the upload endpoint and an authenticated user viewing the affected admin pages, keeping the practical severity in line with the CVSS 5.3 base score.

RemediationAI

No vendor-released patch identified at time of analysis: the maintainers were contacted early but did not respond and no fixed version is published, so operators must rely on compensating controls. The most effective mitigation is to add context-appropriate output encoding wherever uploaded filenames or file content are displayed in the admin UI (for example, avoid Vue v-html bindings for file metadata and use text interpolation or an explicit HTML-escaping helper rather than trusting server-supplied strings), accepting that this requires a local code change and regression testing of the file-management screens. Server-side, enforce strict allow-lists and sanitisation on uploaded filenames, serve stored files with Content-Type and Content-Disposition headers that prevent inline rendering (e.g. attachment; filename=...), and consider placing the file upload/list endpoints behind separate authorisation checks so that only trusted administrators can reach them, with the trade-off that legitimate workflows relying on inline previews may break. A reverse-proxy or WAF rule that inspects multipart filenames for script markers can reduce exposure but risks false positives on benign names containing angle brackets. Track the zhijiantianya/yunaiV upstream repository and the VulDB references (https://vuldb.com/vuln/409330) for an eventual upstream fix, and treat exploit code as publicly available when assessing urgency.

Affected VersionsENISA

ruoyi-vue-pro 2026.08

Affected Packages

euvd ruoyi_vue_pro no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The affected component is the Yudao (ruoyi-vue-pro) infrastructure module, a Java Spring Boot / Vue based rapid-application-development platform maintained under the yunaiV and zhijiantianya GitHub organizations - the two CPE namespaces (cpe:2.3:a:yunaiv:ruoyi-vue-pro and cpe:2.3:a:zhijiantianya:ruoyi-vue-pro) refer to the same product under its two common project names. The flaw is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation, i.e. cross-site scripting): the FileController under yudao-module-infra handles multipart file uploads and stores file metadata such as the original filename and content, but when that data is subsequently rendered in the admin/management UI it is not HTML-encoded, so attacker-controlled markup executes in the browsing context of a user viewing the file list. Because the tainted data is persisted and later displayed, the issue behaves as a stored/reflected XSS rather than a direct request-reflection bug, and its impact is limited to script execution in a victim's session within the application origin. The CVSS 4.0 vector supplied by the reporter scores AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N with E:P, whereas our own reassessment (CVSS 3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) treats the upload endpoint as residing on an admin controller path, making an authenticated/low-privileged uploader and a victim interaction the realistic prerequisites.

Know when Java 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

Vendor (VulDB) PRIMARY 2.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
vuln.today AI 5.4 MEDIUM

Admin file-upload endpoint implies at least low-privilege authentication (PR:L); stored XSS needs victim view (UI:R) and executes across the app UI security boundary (S:C) with limited C/I impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

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

Lifecycle Timeline

2
Severity Changed
Sep 24, 2026 - 19:22 NVD
MEDIUM LOW
CVSS changed
Sep 24, 2026 - 19:22 NVD
5.3 (MEDIUM) 2.1 (LOW)

DescriptionCVE.org

A vulnerability was found in YunaiV/zhijiantianya ruoyi-vue-pro up to 2026.08. This affects an unknown function of the file yudao-module-infra/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/file/FileController.java of the component File Upload. Performing a manipulation results in cross site scripting. It is possible to initiate the attack remotely. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.

Threat Intelligence Overview

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Medium
popular open-source Chinese Spring Boot + Vue rapid-development platform, sizable China footprint
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 No
EPSS 0.3%
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
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

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

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

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