5.4
MEDIUM CVSS 3.1
CVE-2025-8191
macrozheng mall Swagger UI index.html cross site scripting
Description

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.

INFO

Published Date :

July 26, 2025, 2:15 p.m.

Last Modified :

Sept. 3, 2025, 2:38 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2025-8191 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Macrozheng mall
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 LOW [email protected]
CVSS 3.1 MEDIUM [email protected]
CVSS 4.0 MEDIUM [email protected]
Solution
Update Swagger UI to a version that addresses the cross-site scripting vulnerability.
  • Update Swagger UI to a fixed version.
  • Remove or restrict access to Swagger UI.
  • Sanitize user-supplied input for configUrl.
Public PoC/Exploit Available at Github

CVE-2025-8191 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-8191.

URL Resource
https://github.com/macrozheng/mall/issues/919 Broken Link
https://github.com/zast-ai/vulnerability-reports/blob/main/mall/DOM_XSS.md Exploit Third Party Advisory
https://vuldb.com/?ctiid.317604 Permissions Required VDB Entry
https://vuldb.com/?id.317604 Third Party Advisory VDB Entry
https://vuldb.com/?submit.615731 Third Party Advisory VDB Entry
https://github.com/zast-ai/vulnerability-reports/blob/main/mall/DOM_XSS.md Exploit Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-8191 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

A repository containing a PoC exploit for CVE‑2025‑8191 in Swagger UI, leveraging XSS injection to exfiltrate session cookies.

C

Updated: 1 month, 2 weeks ago
1 stars 0 fork 0 watcher
Born at : July 28, 2025, 3:09 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 3 days, 14 hours ago
4 stars 1 fork 1 watcher
Born at : April 24, 2025, 12:46 p.m. This repo has been linked 92 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 14 hours, 11 minutes ago
7262 stars 1200 fork 1200 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 814 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-8191 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-8191 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Sep. 03, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
    Added CWE CWE-79
    Added CPE Configuration OR *cpe:2.3:a:macrozheng:mall:*:*:*:*:*:*:*:* versions up to (including) 1.0.3
    Added Reference Type VulDB: https://github.com/macrozheng/mall/issues/919 Types: Broken Link
    Added Reference Type CISA-ADP: https://github.com/zast-ai/vulnerability-reports/blob/main/mall/DOM_XSS.md Types: Exploit, Third Party Advisory
    Added Reference Type VulDB: https://github.com/zast-ai/vulnerability-reports/blob/main/mall/DOM_XSS.md Types: Exploit, Third Party Advisory
    Added Reference Type VulDB: https://vuldb.com/?ctiid.317604 Types: Permissions Required, VDB Entry
    Added Reference Type VulDB: https://vuldb.com/?id.317604 Types: Third Party Advisory, VDB Entry
    Added Reference Type VulDB: https://vuldb.com/?submit.615731 Types: Third Party Advisory, VDB Entry
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jul. 28, 2025

    Action Type Old Value New Value
    Added Reference https://github.com/zast-ai/vulnerability-reports/blob/main/mall/DOM_XSS.md
  • New CVE Received by [email protected]

    Jul. 26, 2025

    Action Type Old Value New Value
    Added Description 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.
    Added CVSS V4.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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
    Added CVSS V2 (AV:N/AC:L/Au:S/C:N/I:P/A:N)
    Added CWE CWE-79
    Added CWE CWE-94
    Added Reference https://github.com/macrozheng/mall/issues/919
    Added Reference https://github.com/zast-ai/vulnerability-reports/blob/main/mall/DOM_XSS.md
    Added Reference https://vuldb.com/?ctiid.317604
    Added Reference https://vuldb.com/?id.317604
    Added Reference https://vuldb.com/?submit.615731
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.1
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability
Base CVSS Score: 5.4
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 4
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact