Skip to main content

RuoYi EUVDEUVD-2026-133044

| CVE-2026-134925 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-23 VulDB GHSA-q2qp-3cqx-q9h6
5.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege user
  2. Delivery
    Inject script into username/profile field
  3. Exploit
    Payload stored in user record
  4. Execution
    Admin opens Role user-view page
  5. Persist
    renderUserCards injects unescaped field
  6. Impact
    Script executes in admin 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 an authenticated account able to set a user attribute (userName, loginName, phonenumber, or email) to an attacker-controlled value - the diff shows these four fields were rendered unescaped in the role associated-users cards - matching CVSS PR:L. Execution is gated on a victim (typically an administrator) subsequently opening the Role Management User-View page that invokes renderUserCards, matching the UI:P/required-interaction metric. Limiting factors: it is a stored XSS firing in the viewer's browser (not server-side code execution), it needs both a usable authenticated account and a victim viewing the specific page, and it affects RuoYi versions up to and including 4.8.3; updating to the patched build is the vendor's fix.

Impact

This is a stored/DOM cross-site scripting issue (CWE-79) in RuoYi's Role Management user-view, rated moderate (CVSS 4.0 base 5.1). The only severity signal provided is the CVSS 4.0 vector AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N, which already tells the real story: network-reachable but requiring both low-level authentication (PR:L) and victim interaction (UI:P), with only limited integrity impact and no confidentiality or availability impact in the vendor's scoring. There is no EPSS score, no CISA KEV listing, and no SSVC automatable/technical-impact data in the input, so widespread or automated exploitation cannot be inferred. vuln.today assigns a 'this_month' priority rather than act_now/emergency, consistent with a patch-available, interaction-gated web flaw. This is a legitimate defect to remediate on a normal patch cadence, not a drop-everything emergency; the combination of required privileges, required admin interaction, and limited impact keeps real-world risk modest despite network reachability.

Exploit ScenarioDerived

A low-privileged authenticated user sets a crafted XSS payload in a user attribute (username/login name/phone/email). When an administrator later opens the Role Management associated-users view, the renderUserCards logic injects those unescaped fields into the page and the script executes in the admin's browser session. No public exploit identified at time of analysis; the source diff confirms the mechanism is missing HTML-escaping of user fields.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available

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

Alert me

AnalysisAIv1 – Nov 23, 2026

Stored cross-site scripting in RuoYi through 4.8.3 (CVE-2026-134925) allows an authenticated user who can set profile fields such as userName, loginName, phonenumber, or email to inject HTML/JavaScript that executes when an administrator opens the Role Management User-View page. The renderUserCards function in system/role/view.html builds user cards from those values without escaping them, so the script runs in the viewer's browser rather than on the server. The issue is rated moderate (CVSS 4.0 base 5.1; assessed CVSS 3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N), affects versions up to and including 4.8.3, and has no public exploit identified at time of analysis.

RemediationAI

Apply the upstream fix commit 04db82c3c85593921ab8be48a4b3016866eaa97e (https://github.com/yangzongzhuan/RuoYi/commit/04db82c3c85593921ab8be48a4b3016866eaa97e); sources report a patch is available from the vendor, but no tagged release version is named, so a released patched version is not independently confirmed. Updating to a build that contains this commit is the vendor's complete fix for the unescaped rendering in renderUserCards and the related menu-name/icon paths. No alternative workaround is documented in the supplied sources; because exploitation requires an authenticated account able to set userName, loginName, phonenumber, or email and a victim opening the Role Management User-View page, restricting those attributes to trusted administrators reduces exposure but does not replace the patch. The VulDB entry is https://vuldb.com/vuln/442255.

Affected VersionsENISA

RuoYi 4.8.0
RuoYi 4.8.1
RuoYi 4.8.3
RuoYi 4.8.2

Affected Packages

euvd ruoyi 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

RuoYi is a Java/Spring Boot administrative framework with Thymeleaf server-side templates and jQuery-based front-end code. CWE-79 (improper neutralization of input during web page generation) applies because the role user-view template concatenates stored user attributes into HTML strings inside renderUserCards; the commit diff shows userName, loginName, phonenumber, and email were previously inserted directly and are now passed through $.common.escapeHtml. The same patch also escapes menuName and icon values in index.js, common.js, and menu.html and bumps the index.js cache-busting query string to v=20261113. The CPE cpe:2.3:a:yangzongzhuan:ruoyi:*:*:*:*:*:*:*:* covers the RuoYi product; the assessed vector confirms network reachability, low privileges, required user interaction, and scope change, with the trigger being a victim viewing the Role Management User-View page that invokes renderUserCards. The sources do not describe server-side code execution or any exploitation beyond script execution in the viewer's browser.

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

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

Stored XSS needs a low-privilege account to plant the payload (PR:L) and an admin to view the page (UI:R); script runs cross-context in the victim browser (S:C) with limited C/I and no availability 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
Low
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

DescriptionCVE.org

A security flaw has been discovered in yangzongzhuan RuoYi up to 4.8.3. Affected is the function renderUserCards of the file ruoyi-admin/src/main/resources/templates/system/role/view.html of the component Role Management User-View. The manipulation of the argument Username results in cross site scripting. The attack may be launched remotely. The patch is identified as 04db82c3c85593921ab8be48a4b3016866eaa97e. It is best practice to apply a patch to resolve this issue.

Threat Intelligence Overview

Prevalence
Medium
popular open-source Spring Boot admin framework, common in Chinese enterprise development
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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.

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