CRITICAL9.8
GHSA-c6pw-q7f2-97hv
Privilege Escalation in cordova-plugin-inappbrowser
Quick fix
GHSA-c6pw-q7f2-97hv — cordova-plugin-inappbrowser: upgrade to the fixed version with the command below.
npm install cordova-plugin-inappbrowser@3.1.0Details
Versions of `cordova-plugin-inappbrowser` prior to 3.1.0 are vulnerable to Privilege Escalation. 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. This affects Cordova Android applications using the package.
## Recommendation
Upgrade to version 3.1.0 or later.
Are you affected?
Enter the version of the package you're using.
Affected packages
npm/cordova-plugin-inappbrowser
Introduced in:
0Fixed in: 3.1.0Fix
npm install cordova-plugin-inappbrowser@3.1.0References
- https://nvd.nist.gov/vuln/detail/CVE-2019-0219[ADVISORY]
- https://github.com/apache/cordova-plugin-inappbrowser[PACKAGE]
- https://lists.apache.org/thread.html/197482d5ab80c0bff4a5ec16e1b0466df38389d9a4b5331d777f14fc%40%3Cdev.cordova.apache.org%3E[WEB]
- https://lists.apache.org/thread/4vtg0trdrh5203dktt4f3vkd5z2d5ndj[WEB]
- https://www.npmjs.com/advisories/1467[WEB]
- https://www.oracle.com//security-alerts/cpujul2021.html[WEB]
- https://www.oracle.com/security-alerts/cpuApr2021.html[WEB]
- https://www.oracle.com/security-alerts/cpujul2022.html[WEB]
- http://www.openwall.com/lists/oss-security/2019/11/28/1[WEB]