CVE-2019-0219 Privilege Escalation in cordova-plugin-inappbrowser
Attackers can execute arbitrary JavaScript in the main application's webview via a crafted URI in the InAppBrowser plugin on Android.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-0219?
CVE-2019-0219 is a critical cross-site scripting vulnerability in Oracle Instantis Enterprisetrack, published on 14 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A website running in the InAppBrowser webview on Android could execute arbitrary JavaScript in the main application's webview using a specially crafted gap-iab: URI.
Which versions are affected by CVE-2019-0219?
2 open source packages ship an affected version, including cordova-plugin-inappbrowser. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
cordova-plugin-inappbrowser npm | All versions | 3.1.0 |
cordova-plugin-inappbrowser npm | All versions | 3.1.0 |
Products include Apache Cordova Inappbrowser, Oracle Instantis Enterprisetrack, Oracle Retail Xstore Point of Service.
How do I fix CVE-2019-0219?
Upgrade cordova-plugin-inappbrowser to 3.1.0 or later.
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-2019-0219 being exploited?
There is no known exploitation of CVE-2019-0219 in the wild and no public exploit code.
Other vulnerabilities in Oracle Instantis Enterprisetrack
Sources
Also known as GHSA-c6pw-q7f2-97hv.