{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-45352 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-45352 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-45352 is a high-severity code injection vulnerability in Xiaomi smarthome application, published on 27 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-45352 and fix it if it is affected.\n\nWhat it is: CVE-2024-45352 is a high-severity code injection vulnerability in Xiaomi smarthome application, published on 27 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-45352 in the wild and no public exploit code.\n\nAffected product: Xiaomi smarthome application. 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-2024-45352/ (Markdown: https://insights.sbomify.com/CVE-2024-45352/index.md)","id":"CVE-2024-45352","markdown":"https://insights.sbomify.com/CVE-2024-45352/index.md","name":"CVE-2024-45352","record":{"aliases":["GHSA-mm94-j6p9-32xj"],"analysis":{"component_type":"mobile_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Xiaomi smarthome app","requires_auth":"none","summary":"Attackers can execute malicious code in the Xiaomi smarthome application due to improper input validation in the Webview component.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Xiaomi","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-346","name":"Origin Validation Error"}],"description":"An code execution vulnerability exists in the Xiaomi smarthome application product. The vulnerability is caused by improper input validation and can be exploited by attackers to execute malicious code.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2025-07-11","github_poc":3,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-07-11T06:48:40Z","kind":"github_poc","ref":"https://github.com/Edwins907/-CVE-2024-45352","stars":1,"title":"Technical report about a critical vulnerability in Xiaomi (CVE-2024-45352)"},{"date":"2025-07-11T02:49:27Z","kind":"github_poc","ref":"https://github.com/Edwins907/CVE-2024-45352","stars":0,"title":"vulnerability in Xiaomi (CVE-2024-45352)"},{"date":"2025-07-11T02:59:48Z","kind":"github_poc","ref":"https://github.com/Edwins907/xiaomi-cve-2024-45352","stars":0,"title":"Reporte técnico sobre vulnerabilidad crítica de Xiaomi "}],"tier":"poc_unverified"},"has_fix":null,"headline":"Xiaomi smarthome application Webview has code execution vulnerability","id":"CVE-2024-45352","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"quick App has intent redriction vulnerability","id":"CVE-2024-45353"},"packages":[],"prev":{"headline":"Game center application has code execution Vulnerability","id":"CVE-2024-45351"},"products":["Xiaomi smarthome application"],"published":"2025-03-27","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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-03-27","vendors":["Xiaomi"]},"summary":"Attackers can execute malicious code in the Xiaomi smarthome application due to improper input validation in the Webview component.","url":"https://insights.sbomify.com/CVE-2024-45352/"}