{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-8191 exists.","fix":"No fix has been published for CVE-2025-8191 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-8191 is a medium-severity cross-site scripting vulnerability in macrozheng mall, published on 26 Jul 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-8191 and fix it if it is affected.\n\nWhat it is: CVE-2025-8191 is a medium-severity cross-site scripting vulnerability in macrozheng mall, published on 26 Jul 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-8191 exists.\n\nAffected product: macrozheng mall. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-8191/ (Markdown: https://insights.sbomify.com/CVE-2025-8191/index.md)","id":"CVE-2025-8191","markdown":"https://insights.sbomify.com/CVE-2025-8191/index.md","name":"CVE-2025-8191","record":{"aliases":["GHSA-cw4g-wcrm-x4x7"],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Java e-commerce application","requires_auth":"low_privilege","summary":"Remote attackers can execute arbitrary scripts via the Swagger UI configUrl parameter in macrozheng mall, potentially compromising user sessions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"mall","vendor":"macrozheng"}],"cvss":{"score":5.1,"severity":"medium","source":"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","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2025-01-10","github_poc":4,"max_poc_stars":2,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-07-28T03:09:02Z","kind":"github_poc","ref":"https://github.com/byteReaper77/CVE-2025-8191","stars":2,"title":"A repository containing a PoC exploit for CVE‑2025‑8191 in Swagger UI, leveraging XSS injection to exfiltrate session cookies."},{"date":"2025-01-10T15:18:26Z","kind":"github_poc","ref":"https://github.com/mayank-s16/Swagger-HTML-Injection-CVE-2025-8191","stars":0,"title":"XSS Test Swagger  3.14.1 to 3.37.0"},{"date":"2025-08-03","kind":"exploitdb","ref":"52392","stars":null,"title":"Swagger UI 1.0.3 - Cross-Site Scripting (XSS)"},{"date":"2025-12-30T13:04:40Z","kind":"github_poc","ref":"https://github.com/YanC1e/CVE-2025-8191","stars":0,"title":null},{"date":"2026-09-15T15:54:18Z","kind":"github_poc","ref":"https://github.com/d154573r-4v3r73d/CVE-2025-8191","stars":0,"title":"Testing for CVE-2025-8191"}],"tier":"weaponised"},"has_fix":false,"headline":"macrozheng mall Swagger UI index.html cross site scripting","id":"CVE-2025-8191","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2025"},"n_packages":0,"n_references":5,"next":{"headline":"Race condition in AndroidTV TvSettings","id":"CVE-2025-8192"},"packages":[],"prev":{"headline":"Campcodes Courier Management System print_pdets.php sql injection","id":"CVE-2025-8190"},"products":["mall"],"published":"2025-07-26","related":[{"cvss_score":9.3,"headline":"macrozheng mall \u003c= 1.0.3 Unauthenticated Password Reset via OTP Disclosure","id":"CVE-2026-25858","kev_date_added":null,"published":"2026-02-07"},{"cvss_score":6.9,"headline":"macrozheng mall com.macro.mall.portal.controller UmsMemberController.java detail authorization","id":"CVE-2025-8755","kev_date_added":null,"published":"2025-08-09"},{"cvss_score":6.3,"headline":"macrozheng mall Registration weak password","id":"CVE-2025-9514","kev_date_added":null,"published":"2025-08-27"},{"cvss_score":6.3,"headline":"macrozheng mall login cleartext transmission","id":"CVE-2025-8741","kev_date_added":null,"published":"2025-08-08"},{"cvss_score":6.3,"headline":"macrozheng mall Admin Login excessive authentication","id":"CVE-2025-8742","kev_date_added":null,"published":"2025-08-08"},{"cvss_score":5.3,"headline":"macrozheng mall Member Endpoint update improper authorization","id":"CVE-2025-15118","kev_date_added":null,"published":"2025-12-28"},{"cvss_score":5.3,"headline":"macrozheng mall delete access control","id":"CVE-2025-13443","kev_date_added":null,"published":"2025-11-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-07-28","vendors":["macrozheng"]},"summary":"Remote attackers can execute arbitrary scripts via the Swagger UI configUrl parameter in macrozheng mall, potentially compromising user sessions.","url":"https://insights.sbomify.com/CVE-2025-8191/"}