Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege user
-
DeliveryInject script into username/profile field
-
ExploitPayload stored in user record
-
ExecutionAdmin opens Role user-view page
-
PersistrenderUserCards injects unescaped field
-
ImpactScript 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the /editSave method in SysNoticeControlle
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the cancelAuthUserAll method does not prop
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the jobLogId parameter. Rated critical sev
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the changeStatus method. Rated critical se
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the jobId parameter. Rated critical severi
RuoYi up to v4.6 was discovered to contain a SQL injection vulnerability via /system/dept/edit. Rated critical severity
A vulnerability, which was classified as critical, has been found in y_project RuoYi 4.7.5. Rated critical severity (CVS
RuoYi v4.8.2 has an access control flaw in the update function allowing unauthorized attackers to modify arbitrary data
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the add method of the /add/{parentId} endp
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the edit method of the /edit/{dictId} endp
An issue was discovered in Ruoyi 4.8.1 allowing attackers to gain escalated privileges due to the owning department havi
RuoYi v4.7.2 contains a CSV injection vulnerability through ruoyi-admin when a victim opens .xlsx log file. Rated high s
EUVD-2026-133044
GHSA-q2qp-3cqx-q9h6
NVD
CVE.org
VulDB
Exploit-DB