{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-5022 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-5022 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-5022 is a medium-severity vulnerability in Mozilla Focus for iOS, published on 17 May 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-5022 and fix it if it is affected.\n\nWhat it is: CVE-2024-5022 is a medium-severity vulnerability in Mozilla Focus for iOS, published on 17 May 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-5022 in the wild and no public exploit code.\n\nAffected product: Mozilla Focus for iOS. 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-5022/ (Markdown: https://insights.sbomify.com/CVE-2024-5022/index.md)","id":"CVE-2024-5022","markdown":"https://insights.sbomify.com/CVE-2024-5022/index.md","name":"CVE-2024-5022","record":{"aliases":["GHSA-9pq4-qcq3-j332"],"analysis":{"component_type":"mobile_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Focus for iOS","requires_auth":"none","summary":"Attackers can spoof website addresses in the location bar by hiding the file scheme, potentially misleading users in Focus for iOS.","user_interaction":"required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mozilla","cpe":[{"product":"firefox_focus","vendor":"mozilla"}],"cvss":{"score":4.4,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[],"description":"The file scheme of URLs would be hidden, resulting in potential spoofing of a website's address in the location bar This vulnerability affects Focus for iOS \u003c 126.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Other in Focus for iOS","id":"CVE-2024-5022","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"other","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Arbitrary File Read Vulnerability in ConsoleMe via Limited Git command RCE","id":"CVE-2024-5023"},"packages":[],"prev":{"headline":"WordPress Picture / Portfolio / Media Gallery \u003c= 3.0.1 - Unauthenticated Server-Side Request Forgery","id":"CVE-2024-5021"},"products":["Focus for iOS"],"published":"2024-05-17","related":[{"cvss_score":9.1,"headline":"Security feature bypass in Focus for iOS","id":"CVE-2024-10474","kev_date_added":null,"published":"2024-10-29"},{"cvss_score":9.1,"headline":"Security feature bypass in Firefox for Android","id":"CVE-2023-29534","kev_date_added":null,"published":"2023-06-19"},{"cvss_score":8.1,"headline":"Race condition in Focus for iOS","id":"CVE-2024-1563","kev_date_added":null,"published":"2024-02-22"},{"cvss_score":7.5,"headline":"Race condition in Focus for iOS","id":"CVE-2024-0605","kev_date_added":null,"published":"2024-01-22"},{"cvss_score":7.5,"headline":"Security feature bypass in Firefox","id":"CVE-2023-25743","kev_date_added":null,"published":"2023-06-02"},{"cvss_score":6.5,"headline":"Other in Focus for iOS","id":"CVE-2025-10290","kev_date_added":null,"published":"2025-09-16"},{"cvss_score":6.5,"headline":"Information disclosure in Firefox for Android","id":"CVE-2023-29546","kev_date_added":null,"published":"2023-06-19"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-28","vendors":["Mozilla"]},"summary":"Attackers can spoof website addresses in the location bar by hiding the file scheme, potentially misleading users in Focus for iOS.","url":"https://insights.sbomify.com/CVE-2024-5022/"}