{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-16873 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2020-16873 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-16873 is a medium-severity cross-site scripting vulnerability in Microsoft xamarin.forms, published on 11 Sep 2020. 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-2020-16873 and fix it if it is affected.\n\nWhat it is: CVE-2020-16873 is a medium-severity cross-site scripting vulnerability in Microsoft xamarin.forms, published on 11 Sep 2020. 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-2020-16873 in the wild and no public exploit code.\n\nAffected product: Microsoft xamarin.forms. 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-2020-16873/ (Markdown: https://insights.sbomify.com/CVE-2020-16873/index.md)","id":"CVE-2020-16873","markdown":"https://insights.sbomify.com/CVE-2020-16873/index.md","name":"CVE-2020-16873","record":{"aliases":["GHSA-mc93-wcph-m2mx"],"analysis":{"component_type":"mobile_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Xamarin.Forms","requires_auth":"none","summary":"An attacker can execute arbitrary JavaScript on a target system via a spoofing vulnerability in Xamarin.Forms Android WebView.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"xamarin.forms","vendor":"microsoft"}],"cvss":{"score":4.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N/E:F/RL:O/RC:C/CR:M/MAV:N/MAC:L/MPR:N/MUI:R/MS:C","version":"3.1"},"cwes":[{"id":"CWE-1188","name":"Initialization of a Resource with an Insecure Default"}],"description":"\u003cp\u003eA spoofing vulnerability manifests in Microsoft Xamarin.Forms due to the default settings on Android WebView version prior to 83.0.4103.106. This vulnerability could allow an attacker to execute arbitrary Javascript code on a target system.\u003c/p\u003e\n\u003cp\u003eFor the attack to be successful, the targeted user would need to browse to a malicious website or a website serving the malicious code through Xamarin.Forms.\u003c/p\u003e\n\u003cp\u003eThe security update addresses this vulnerability by preventing the malicious Javascript from running in the WebView.\u003c/p\u003e","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":"Xamarin.Forms Spoofing Vulnerability","id":"CVE-2020-16873","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2020"},"n_packages":0,"n_references":1,"next":{"headline":"Visual Studio Remote Code Execution Vulnerability","id":"CVE-2020-16874"},"packages":[],"prev":{"headline":"Microsoft Dynamics 365 (On-Premise) Cross Site Scripting Vulnerability","id":"CVE-2020-16872"},"products":["xamarin.forms"],"published":"2020-09-11","related":[],"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Microsoft"]},"summary":"An attacker can execute arbitrary JavaScript on a target system via a spoofing vulnerability in Xamarin.Forms Android WebView.","url":"https://insights.sbomify.com/CVE-2020-16873/"}