Skip to content

Commit ef3d0a8

Browse files
NiklasMerzerisu
andauthored
chore(blog): announce InAppBrowser 6.0.1 (#1506)
* chore(blog): announce iab 6.0.1 * Update with link Co-authored-by: エリス <erisu@users.noreply.github.com> * update release version --------- Co-authored-by: エリス <erisu@users.noreply.github.com>
1 parent faccd50 commit ef3d0a8

3 files changed

Lines changed: 57 additions & 5 deletions

File tree

www/_data/releases.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -303,13 +303,13 @@
303303
customName: cordova-plugin-geolocation
304304

305305
- package: cordova-plugin-inappbrowser
306-
version: 6.0.0
306+
version: 6.0.1
307307
downloadDir: plugins
308308
tarballs:
309-
# - type: source
310-
# extension: tar.gz
311-
# - type: source
312-
# extension: zip
309+
- type: source
310+
extension: tar.gz
311+
- type: source
312+
extension: zip
313313
- type: npm
314314
extension: tgz
315315
customName: cordova-plugin-inappbrowser

www/_posts/2026-05-31-cordova-ios-8.1.0.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
layout: post
33
author:
44
name: Niklas Merz
5+
url: https://w3c.social/@niklasmerz
56
title: "Cordova iOS 8.1.0 is now available!"
67
categories: announcements
78
tags: news releases
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
layout: post
3+
author:
4+
name: Niklas Merz
5+
url: https://w3c.social/@niklasmerz
6+
title: "Cordova Plugin InAppBrowser 6.0.1 With Fix For CVE-2026-47430 Released!"
7+
categories: announcements
8+
tags: news releases plugins
9+
---
10+
11+
We are happy to announce that we have just released an update to `cordova-plugin-inappbrowser`!
12+
13+
* [cordova-plugin-inappbrowser@6.0.1](https://www.npmjs.com/package/cordova-plugin-inappbrowser)
14+
15+
## Release Highlights
16+
17+
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:
18+
19+
*Severity: important*
20+
21+
Affected versions:
22+
23+
- Cordova Plugin InAppBrowser (cordova-plugin-inappbrowser) 3.1.0 through 6.0.0
24+
25+
Description:
26+
27+
### Summary
28+
29+
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.
30+
31+
32+
### Impact
33+
34+
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.
35+
36+
This issue affects Cordova Plugin InAppBrowser: from 3.1.0 through 6.0.0.
37+
38+
Users are recommended to upgrade to version 6.0.1, which fixes the issue.
39+
40+
References:
41+
42+
https://www.cve.org/CVERecord?id=CVE-2026-47430
43+
44+
Please report any issues you find on [GitHub](http://https://github.com/apache/cordova-plugin-inappbrowser/issues)!
45+
46+
<!--more-->
47+
# Changes include:
48+
49+
* [GH-1152](https://github.com/apache/cordova-plugin-inappbrowser/pull/1152) fix(ios): check callbackId with regex
50+
* [GH-1095](https://github.com/apache/cordova-plugin-inappbrowser/pull/1095) chore: gh-action workflow, license header formatting & cleanups
51+
* Fix npm audit issues

0 commit comments

Comments
 (0)