CVE-2026-47430
CRITICAL 9.5CVSS 4.0Cordova Plugin InAppBrowser: iOS: Arbitrary Cordova callback IDs can be dispatched without validation from InAppBrowser WebViews.
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.
- Published
- 8 Jun 2026
- Last modified
- 23 Jul 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-20
- Also known as
- GHSA-q42j-x8rq-pjg6
- Sources
- NVDJSONOSV GHSA-q42j-x8rq-pjg6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@apache.org (Secondary) | CVSS 4.0 | CRITICAL 9.5 | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | cordova_inappbrowsercpe:2.3:a:apache:cordova_inappbrowser:*:*:*:*:*:*:*:* |
>= 3.1.0, < 6.0.1 | 6.0.1 |
| OSV | npm | cordova-plugin-inappbrowser | < 6.0.1 | 6.0.1 |
References
- https://lists.apache.org/thread/sb539nss3b0545wnyt1pbh7zgwjvz2qq · Mailing List, Vendor Advisory, WEB
- http://www.openwall.com/lists/oss-security/2026/06/07/1 · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-47430 · ADVISORY
- https://github.com/apache/cordova-plugin-inappbrowser · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 8 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Jun 2026)