{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-52921 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-52921 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-52921 is a critical vulnerability in InnoShop, published on 23 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-52921 and fix it if it is affected.\n\nWhat it is: CVE-2025-52921 is a critical vulnerability in InnoShop, published on 23 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-52921 in the wild and no public exploit code.\n\nAffected product: InnoShop. 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-52921/ (Markdown: https://insights.sbomify.com/CVE-2025-52921/index.md)","id":"CVE-2025-52921","markdown":"https://insights.sbomify.com/CVE-2025-52921/index.md","name":"CVE-2025-52921","record":{"aliases":["GHSA-xp47-r464-469h"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"InnoShop e-commerce","requires_auth":"low_privilege","summary":"Authenticated attackers can achieve remote code execution by bypassing frontend restrictions to rename uploaded files to .php extensions.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[],"cvss":{"score":9.9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-420","name":"Unprotected Alternate Channel"}],"description":"In Innoshop through 0.4.1, an authenticated attacker could exploit the File Manager functions in the admin panel to achieve code execution on the server, by uploading a crafted file and then renaming it to have a .php extension by using the Rename Function. This bypasses the initial check that uploaded files are image files. The application relies on frontend checks to restrict the administrator from changing the extension of uploaded files to .php. This restriction is easily bypassed with any proxy tool (e.g., BurpSuite). Once the attacker renames the file, and gives it the .php extension, a GET request can be used to trigger the execution of code on the server.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"File upload in InnoShop","id":"CVE-2025-52921","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"file_upload","year":"2025"},"n_packages":0,"n_references":2,"next":{"headline":"Path traversal in InnoShop","id":"CVE-2025-52922"},"packages":[],"prev":{"headline":"Missing authorization in InnoShop","id":"CVE-2025-52920"},"products":["InnoShop"],"published":"2025-06-23","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-06-23","vendors":["InnoShop"]},"summary":"Authenticated attackers can achieve remote code execution by bypassing frontend restrictions to rename uploaded files to .php extensions.","url":"https://insights.sbomify.com/CVE-2025-52921/"}