Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain any authenticated admin-panel token
-
DeliveryUpload malicious HTML/SVG via FileController
-
ExploitFile stored without type validation
-
ExecutionAdmin opens file from storage path
-
PersistScript executes in admin browser
-
ImpactSession hijack / admin-context actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a valid authenticated token to the mall4j admin backend (PR:L) - the FileController upload endpoints lack authorization checks, so any authenticated user, not just admins, can reach them. The attacker uploads HTML or SVG files that are accepted without file-type validation (CWE-434). Exploitation then depends on an administrator subsequently opening/accessing the uploaded file directly from the local storage path (UI:P/UI:R), at which point the embedded script executes in the admin's browser. Limiting factors: exploitation is not fully unauthenticated (a token is needed), impact is client-side stored XSS rather than server-side code execution, and it hinges on victim interaction by a privileged user; affects mall4j through version 4.0. |
| Impact | Real-world risk is modest despite the availability of public exploit code. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:P) yields only 2.1 because impact is confined to low confidentiality/integrity on a subsequent system (SC:L/SI:L) via stored XSS - there is no direct code execution, and both an authenticated token (PR:L) and victim interaction (UI:P - an admin must open the uploaded file from the local storage path) are required. A public POC exists (github LinYuanyi1, the same researcher behind other mall4j findings), which is the primary escalating signal, but there is no EPSS score and no CISA KEV listing, so this is 'publicly available exploit code exists' - NOT active exploitation. The AT:P (attack-requirement/'passive' interaction) plus PR:L plus UI:P chain means exploitation is conditional rather than trivially automatable. Note a signal tension worth flagging: CWE-434 (unrestricted file upload) normally implies a path toward webshell/RCE, but this CVE's described impact stops at stored XSS - the uploaded HTML/SVG executes as script in the browser rather than server-side, so the low CVSS is consistent with the described impact and should not be inflated to RCE without verification. Net: a genuine but low-priority issue - patch in normal cadence, not an emergency. |
| Exploit ScenarioDerived | An attacker who has obtained any low-privilege authenticated token to the mall4j admin backend uploads a crafted .html or .svg file through the unprotected FileController upload endpoint, which performs no authorization or file-type validation. When an administrator later opens that file from the local storage path, the embedded script executes in the admin's browser session (stored XSS), enabling session/credential theft or admin-context actions. A working POC (A03_admin_file_upload_xss.py) is publicly available on GitHub. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 29, 2026
Stored cross-site scripting in mall4j through 4.0 arises from unrestricted file uploads in admin FileController endpoints that require only any valid authenticated token and do not validate uploaded file types. An authenticated attacker can upload HTML or SVG files that execute script in an administrator's browser when the administrator opens the uploaded file from the local storage path, and publicly available exploit code exists. Real-world risk is modest because exploitation requires a token and privileged-user interaction, and the impact is client-side stored XSS rather than server-side code execution.
RemediationAI
No vendor-released patch is identified in the provided advisory data, so upgrade to a fixed mall4j release if one becomes available and validate that the FileController endpoints enforce authorization. Until then, apply compensating controls: enforce role-based authorization on all upload endpoints so ordinary authenticated users cannot reach administrative file-upload paths; implement a server-side allowlist of safe file extensions and MIME types that excludes HTML, SVG, and other script-capable formats; store uploaded files outside the web root or on a separate origin and serve them with Content-Disposition: attachment and X-Content-Type-Options: nosniff. If SVG uploads are required, sanitize them by removing script elements, event-handler attributes, and external references, or render them through a hardened conversion process; these restrictions may break legitimate previews or rich-media workflows. Add a restrictive Content-Security-Policy on administrator pages to reduce script execution from stored files, and review the VulnCheck advisory at https://www.vulncheck.com/advisories/mall4j-through-4.0-unrestricted-file-upload-in-admin-file-endpoints plus the public proof-of-concept at https://github.com/LinYuanyi1/cve-request-poc/blob/114b3f0d149e50a7678f591bf8043399fc9ac96c/mall4j/A03_admin_file_upload_xss.py to test for exposure.
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
The vulnerability is CWE-434 unrestricted upload of a file with a dangerous type, located in the mall4j Java e-commerce application. Source references point to yami-shop-admin FileController.java lines 44-64 and yami-shop-service AttachFileServiceImpl.java lines 62-81 in the gz-yami/mall4j repository, where upload handling accepts arbitrary file types without validation and lacks authorization checks on the FileController endpoints. Because HTML and SVG files can contain script, an uploaded file accessed from the local storage path renders in an administrator's browser and executes in that origin, producing stored cross-site scripting. No CPE strings were included in the provided data, but the source references identify the affected modules and the public VulnCheck advisory provides additional affected-product context. The independent assessment rates this CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, consistent with low-impact client-side script execution that depends on victim interaction after authenticated upload.
Know when the next one hits your stack
- 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:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Authenticated upload (PR:L) over network, admin must open the file (UI:R); stored XSS crosses into the admin browser context (S:C) with limited confidentiality/integrity impact and no availability effect.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
mall4j through 4.0 contains an unrestricted file upload vulnerability in FileController endpoints that lack authorization checks and accept arbitrary file types without validation. Attackers with any authenticated token can upload HTML or SVG files that execute scripts in administrator browsers when accessed from the local storage path, resulting in stored cross-site scripting.
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.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
EUVD-2026-88582
GHSA-ffmx-jjx9-c9cx
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB