-
Notifications
You must be signed in to change notification settings - Fork 564
chore(blog): announce InAppBrowser 6.0.1 #1506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| --- | ||
| layout: post | ||
| author: | ||
| name: Niklas Merz | ||
| url: https://w3c.social/@niklasmerz | ||
| title: "Cordova Plugin InAppBrowser 6.0.1 With Fix For CVE-2026-47430 Released!" | ||
| categories: announcements | ||
| tags: news releases plugins | ||
| --- | ||
|
|
||
| We are happy to announce that we have just released an update to `cordova-plugin-inappbrowser`! | ||
|
|
||
| * [cordova-plugin-inappbrowser@6.0.1](https://www.npmjs.com/package/cordova-plugin-inappbrowser) | ||
|
|
||
| ## Release Highlights | ||
|
|
||
| This is a small patch release that addresses the recently published vulnerability **CVE-2026-47430: Cordova Plugin InAppBrowser: iOS: Arbitrary Cordova callback IDs can be dispatched without validation from InAppBrowser WebViews**. Full details: | ||
|
|
||
| *Severity: important* | ||
|
|
||
| Affected versions: | ||
|
|
||
| - Cordova Plugin InAppBrowser (cordova-plugin-inappbrowser) 3.1.0 through 6.0.0 | ||
|
|
||
| Description: | ||
|
|
||
| ### Summary | ||
|
|
||
| The iOS implementation of `cordova-plugin-inappbrowser` passes the `id` field from a `WKScriptMessage` body to `commandDelegate sendPluginResult:callbackId:` with no format validation (`CDVWKInAppBrowser.m:560–574`). Any web content loaded inside the InAppBrowser can fire any pending Cordova callback in the host app by posting a message whose `id` field is a guessable or enumerated callback identifier. An attack abusing this weakness must be tailored to the specific plugins and callback IDs the host app uses. Though an attacker with knowledge of common Cordova plugin configurations could craft reusable payloads targeting widely-adopted plugins. | ||
|
|
||
|
|
||
| ### Impact | ||
|
|
||
| An unauthenticated remote attacker who controls content displayed in the InAppBrowser — via a URL the app opens (OAuth redirect, marketing link, deep-link target) or a network interception — can call `window.webkit.messageHandlers.cordova_iab.postMessage({id: '<victim-callback-id>', d: '...'})` to fire callbacks belonging to any other installed Cordova plugin (Camera, Contacts, File, Geolocation). Cordova callback IDs follow the predictable format `<PluginName><sequential-integer>`, making enumeration feasible. Successful exploitation allows the attacker to spoof plugin results across trust boundaries — for example, injecting a forged camera approval, a fabricated contacts list, or a crafted file-read response. | ||
|
|
||
| This issue affects Cordova Plugin InAppBrowser: from 3.1.0 through 6.0.0. | ||
|
|
||
| Users are recommended to upgrade to version 6.0.1, which fixes the issue. | ||
|
|
||
| References: | ||
|
|
||
| https://www.cve.org/CVERecord?id=CVE-2026-47430 | ||
|
|
||
| Please report any issues you find on [GitHub](http://https://github.com/apache/cordova-plugin-inappbrowser/issues)! | ||
|
|
||
| <!--more--> | ||
| # Changes include: | ||
|
|
||
| * [GH-1152](https://github.com/apache/cordova-plugin-inappbrowser/pull/1152) fix(ios): check callbackId with regex | ||
| * [GH-1095](https://github.com/apache/cordova-plugin-inappbrowser/pull/1095) chore: gh-action workflow, license header formatting & cleanups | ||
| * Fix npm audit issues | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.