{"answers":{"affected":"2 open source packages ship an affected version, including mahocommerce/maho.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-58449 exists.","fix":"Upgrade mahocommerce/maho to 25.9.0 or later.","what":"CVE-2025-58449 is a high-severity vulnerability in MahoCommerce maho, published on 8 Sep 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-58449 and fix it if it is affected.\n\nWhat it is: CVE-2025-58449 is a high-severity vulnerability in MahoCommerce maho, published on 8 Sep 2025. An attacker needs administrator access to exploit it, 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-58449 exists.\n\nAffected packages and fixed versions:\n- mahocommerce/maho (Packagist): affected all versions; fixed in 25.9.0\n- mahocommerce/maho (Packagist): affected all versions; fixed in 25.9.0\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-58449/ (Markdown: https://insights.sbomify.com/CVE-2025-58449/index.md)","id":"CVE-2025-58449","markdown":"https://insights.sbomify.com/CVE-2025-58449/index.md","name":"CVE-2025-58449","record":{"aliases":["GHSA-vgmm-27fc-vmgp"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Maho ecommerce platform","requires_auth":"high_privilege","summary":"Authenticated staff users can upload malicious PHP files via product options, leading to remote code execution on the Maho ecommerce platform.","user_interaction":"required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-646","name":"Reliance on File Name or Extension of Externally-Supplied File"}],"description":"Maho is a free and open source ecommerce platform. In Maho prior to 25.9.0, an authenticated staff user with access to the `Dashboard` and `Catalog\\Manage Products` permissions can create a custom option on a listing with a file input field. By allowing file uploads with a `.php` extension, the user can use the filed to upload malicious PHP files, gaining remote code execution. Version 25.9.0 fixes the issue.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Maho Vulnerable to Authenticated Remote Code Execution via File Upload","id":"CVE-2025-58449","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"file_upload","year":"2025"},"n_packages":2,"n_references":2,"next":{"headline":"pREST has Systemic SQL Injection Vulnerability","id":"CVE-2025-58450"},"packages":[{"ecosystem":"Packagist","fixed":["25.9.0"],"introduced":["0"],"last_affected":[],"package":"mahocommerce/maho","purl":null,"source":"GHSA-vgmm-27fc-vmgp"},{"ecosystem":"Packagist","fixed":["25.9.0"],"introduced":["0"],"last_affected":[],"package":"mahocommerce/maho","purl":"pkg:composer/mahocommerce/maho","source":"GHSA-vgmm-27fc-vmgp"}],"prev":{"headline":"rAthena has SQL Injection in PartyBooking component via `WorldName` parameter.","id":"CVE-2025-58448"},"products":["maho"],"published":"2025-09-08","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-09-09","vendors":["MahoCommerce"]},"summary":"Authenticated staff users can upload malicious PHP files via product options, leading to remote code execution on the Maho ecommerce platform.","url":"https://insights.sbomify.com/CVE-2025-58449/"}