macrozheng mall
CVE-2025-8191
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain valid application credentials
-
DeliveryCraft malicious configUrl parameter with XSS payload
-
ExploitSend crafted URL to authenticated user
-
InstallUser clicks link and accesses Swagger UI
-
C2Injected script executes in victim's browser
-
ExecuteAttacker steals session cookie or API key
-
ImpactAttacker performs unauthorized actions
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: (1) valid authentication credentials to the mall application (PR:L per CVSS vector), (2) the victim must be logged into an active session when visiting the malicious URL, (3) the victim must click or be redirected to the crafted Swagger UI URL with the malicious configUrl parameter, (4) the Swagger UI component must be enabled and accessible (non-default but common in development/staging deployments), and (5) the browser must execute JavaScript (default for all modern browsers). Exploitation does NOT require network admin privileges, does not work against unauthenticated users, and is limited to the integrity domain (not confidentiality or availability). Organizations with Swagger UI disabled on internet-facing instances, or those restricting access to internal networks only, are protected from remote attack chains. |
| Impact | Despite the low CVSS v4.0 score of 2.0, several factors suggest moderate real-world risk. The attack requires authentication (PR:L) and user interaction (UI:P), which significantly restricts attack surface-this is reflected in the low CVSS score and 0.51% EPSS (67th percentile), placing it in a moderate-risk zone rather than critical. However, publicly available exploit code exists, lowering the barrier to exploitation for attackers with valid credentials. The integrity impact (VI:L) suggests session hijacking or credential theft is possible. The vendor's unresponsiveness and deletion of the GitHub issue without explanation raises concerns about long-term supportability. For organizations using macrozheng mall, the real risk depends on whether internal users or external parties can obtain authentication credentials and whether the Swagger UI endpoint is internet-accessible. The EPSS score of 0.51% indicates this is not a mass-exploitation priority, but targeted attacks against specific deployments are feasible. |
| Exploit ScenarioDerived | An attacker with valid credentials to the macrozheng mall application crafts a malicious URL containing a JavaScript payload in the configUrl parameter and sends it to a logged-in administrator via email or chat. When the administrator clicks the link and accesses the Swagger UI page, the injected script executes with the victim's privileges, potentially stealing session cookies, capturing API keys, or performing unauthorized administrative actions on the mall platform. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Cross-site scripting (XSS) in macrozheng mall up to version 1.0.3 allows authenticated remote attackers to inject malicious scripts via the configUrl parameter in the Swagger UI component (/swagger-ui/index.html). Exploitation requires user interaction (clicking a malicious link) and an authenticated session, limiting attack scope to integrity impact. Publicly available exploit code exists, and the vendor has not responded to early disclosure or patched the vulnerability.
RemediationAI
The vendor has not released a patched version as of the time of analysis. Organizations using macrozheng mall should immediately disable or restrict network access to the Swagger UI endpoint (/swagger-ui/index.html) unless it is strictly required for internal development teams. This can be accomplished by configuring reverse proxy rules (nginx, Apache) to block or require additional authentication for the /swagger-ui path, or by disabling Swagger UI entirely in production environments through application configuration. If Swagger UI must remain accessible, implement strict Content Security Policy (CSP) headers to prevent inline script execution and restrict script sources. Monitor for unauthorized configuration changes to the configUrl parameter via access logs. Additionally, verify that authentication to the application is enforced and that user sessions are properly isolated. Contact the macrozheng team for security updates, though the vendor's historical non-responsiveness suggests community-driven forks or alternative e-commerce solutions may be preferable for production deployments.
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
The vulnerability exists in the Swagger UI component's handling of the configUrl parameter, which is vulnerable to DOM-based cross-site scripting (CWE-79). Swagger UI is a popular framework for API documentation that dynamically loads configuration from user-supplied URLs. When the configUrl parameter is not properly sanitized before use in the DOM, an attacker can inject arbitrary JavaScript that executes in the victim's browser within the security context of the authenticated session. The vulnerability affects all versions of macrozheng mall up to and including 1.0.3 (CPE: cpe:2.3:a:macrozheng:mall:*:*:*:*:*:*:*:*).
Know when Mall 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/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
A vulnerability, which was classified as problematic, was found in macrozheng mall up to 1.0.3. Affected is an unknown function of the file /swagger-ui/index.html of the component Swagger UI. The manipulation of the argument configUrl leads to cross site scripting. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The vendor deleted the GitHub issue for this vulnerability without any explanation. Afterwards the vendor was contacted early about this disclosure via email but did not respond in any way.
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.
Affected Products (CPE)CVE.org
Payment-amount tampering in macrozheng mall through version 1.0.3 lets a customer-side attacker override the amount subm
macrozheng mall e-commerce platform v1.0.3 has an authentication vulnerability in password reset enabling unauthorized a
Weak password recovery in macrozheng mall (commit 0504e86) exposes the /sso/getAuthCode endpoint of the mall-portal modu
A vulnerability classified as critical was found in Weitong Mall 1.0.0. Rated medium severity (CVSS 6.9), this vulnerabi
A vulnerability classified as critical has been found in Weitong Mall 1.0.0. Rated medium severity (CVSS 6.9), this vuln
A vulnerability was found in macrozheng mall up to 1.0.3. Rated medium severity (CVSS 6.3), this vulnerability is remote
Insufficient session expiration in MacroZheng Mall through 1.0.3 allows an attacker who already holds a valid low-privil
A security flaw has been discovered in macrozheng mall-swarm and mall up to 1.0.3. Rated medium severity (CVSS 5.3), thi
A vulnerability was detected in macrozheng mall-swarm and mall up to 1.0.3. Rated medium severity (CVSS 5.3), this vulne
A security vulnerability has been detected in macrozheng mall-swarm and mall up to 1.0.3. Rated medium severity (CVSS 5.
A weakness has been identified in macrozheng mall-swarm and mall up to 1.0.3. Rated medium severity (CVSS 5.3), this vul
Improper authorization in macrozheng mall up to version 1.0.3 allows authenticated remote attackers to modify member add
NVD
CVE.org
EPSS
Exploit-DB
GitHub
VulDB