VDB
Sign up
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.0

Details

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.0
Fixnpm install cordova-plugin-inappbrowser@3.1.0

References