CVE-2020-16873 Xamarin.Forms Spoofing Vulnerability

Medium 4.7 Published Updated

An attacker can execute arbitrary JavaScript on a target system via a spoofing vulnerability in Xamarin.Forms Android WebView.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2020-16873?

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.

Official description

<p>A 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.</p> <p>For 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.</p> <p>The security update addresses this vulnerability by preventing the malicious Javascript from running in the WebView.</p>

Weakness: CWE-1188

Which versions are affected by CVE-2020-16873?

It affects 1 product.

Products include Microsoft Xamarin.forms.

How do I fix CVE-2020-16873?

No fix has been published for CVE-2020-16873 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2020-16873 being exploited?

There is no known exploitation of CVE-2020-16873 in the wild and no public exploit code.

Sources

Also known as GHSA-mc93-wcph-m2mx.

Is CVE-2020-16873 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free