From cabfdf3660f080b430220dfc21b336cf03e03a46 Mon Sep 17 00:00:00 2001 From: Niklas Merz Date: Sun, 7 Jun 2026 11:32:37 +0200 Subject: [PATCH 1/3] chore(blog): announce iab 6.0.1 --- www/_posts/2026-05-31-cordova-ios-8.1.0.md | 1 + .../2026-06-07-inappbrowser-release-6.0.1.md | 51 +++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 www/_posts/2026-06-07-inappbrowser-release-6.0.1.md diff --git a/www/_posts/2026-05-31-cordova-ios-8.1.0.md b/www/_posts/2026-05-31-cordova-ios-8.1.0.md index ad0b22942e..e89c4292f4 100644 --- a/www/_posts/2026-05-31-cordova-ios-8.1.0.md +++ b/www/_posts/2026-05-31-cordova-ios-8.1.0.md @@ -2,6 +2,7 @@ layout: post author: name: Niklas Merz + url: https://w3c.social/@niklasmerz title: "Cordova iOS 8.1.0 is now available!" categories: announcements tags: news releases diff --git a/www/_posts/2026-06-07-inappbrowser-release-6.0.1.md b/www/_posts/2026-06-07-inappbrowser-release-6.0.1.md new file mode 100644 index 0000000000..410d8b9878 --- /dev/null +++ b/www/_posts/2026-06-07-inappbrowser-release-6.0.1.md @@ -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: '', d: '...'})` to fire callbacks belonging to any other installed Cordova plugin (Camera, Contacts, File, Geolocation). Cordova callback IDs follow the predictable format ``, 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)! + + +# 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 From 1d8d980184143254d02ca5de94dcb736f8026108 Mon Sep 17 00:00:00 2001 From: Niklas Merz Date: Mon, 8 Jun 2026 08:10:22 +0200 Subject: [PATCH 2/3] Update with link MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: エリス --- www/_posts/2026-06-07-inappbrowser-release-6.0.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/_posts/2026-06-07-inappbrowser-release-6.0.1.md b/www/_posts/2026-06-07-inappbrowser-release-6.0.1.md index 410d8b9878..61c59ffd59 100644 --- a/www/_posts/2026-06-07-inappbrowser-release-6.0.1.md +++ b/www/_posts/2026-06-07-inappbrowser-release-6.0.1.md @@ -14,7 +14,7 @@ We are happy to announce that we have just released an update to `cordova-plugin ## 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: +This is a small patch release that addresses the recently published vulnerability **[CVE-2026-47430](https://www.cve.org/CVERecord?id=CVE-2026-47430): Cordova Plugin InAppBrowser: iOS: Arbitrary Cordova callback IDs can be dispatched without validation from InAppBrowser WebViews**. Full details: *Severity: important* From a5b8a65af252ca5b1cde5f7687b81bff51d5d575 Mon Sep 17 00:00:00 2001 From: Niklas Merz Date: Mon, 8 Jun 2026 11:30:49 +0200 Subject: [PATCH 3/3] update release version --- www/_data/releases.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/www/_data/releases.yml b/www/_data/releases.yml index b3c057c162..bf52ad2520 100644 --- a/www/_data/releases.yml +++ b/www/_data/releases.yml @@ -303,13 +303,13 @@ customName: cordova-plugin-geolocation - package: cordova-plugin-inappbrowser - version: 6.0.0 + version: 6.0.1 downloadDir: plugins tarballs: - # - type: source - # extension: tar.gz - # - type: source - # extension: zip + - type: source + extension: tar.gz + - type: source + extension: zip - type: npm extension: tgz customName: cordova-plugin-inappbrowser