CVE-2026-47430: Cordova Plugin InAppBrowser IOS: Arbitrary Cordova Callback IDs Vulnerability
CRITICALCVE-2026-47430 is a CRITICAL ios: arbitrary cordova callback ids vulnerability (CWE-20: Improper Input Validation) affecting Cordova Plugin InAppBrowser libraries in the npm ecosystem. The issue involves ios: arbitrary cordova callback ids can be dispatched without validation from inappbrowser webviews.. Remediation is available by upgrading affected packages to version 6.0.1.
CVE-2026-47430 at a Glance
How to Fix CVE-2026-47430
To remediate this vulnerability, upgrade all affected Cordova Plugin InAppBrowser dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install cordova-plugin-inappbrowser@6.0.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls cordova-plugin-inappbrowser
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-47430, inspect your project dependencies using npm:
npm ls cordova-plugin-inappbrowser
Analyze the terminal output to locate any version of Cordova Plugin InAppBrowser in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.0.1), your application is affected.
Note: The npm ls cordova-plugin-inappbrowser command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Cordova Plugin InAppBrowser, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-47430 Affected Cordova Plugin InAppBrowser Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
cordova-plugin-inappbrowser
|
npm |
< 6.0.1
|
6.0.1
|
References
Frequently Asked Questions
What is CVE-2026-47430?
Which Cordova Plugin InAppBrowser versions are affected?
What version fixes CVE-2026-47430?
Is cordova-plugin-inappbrowser affected?
What CWE is associated with CVE-2026-47430?
How can I check npm dependencies for CVE-2026-47430?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q42j-x8rq-pjg6",
"modified" : "2026-06-12T21:01:06Z",
"published" : "2026-06-08T12:30:29Z",
"aliases" : [ "CVE-2026-47430" ],
"summary" : "Cordova Plugin InAppBrowser: iOS: Arbitrary Cordova callback IDs can be dispatched without validation from InAppBrowser WebViews.",
"details" : "## Summary\n\nThe 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.\n\n\n## Impact\n\nAn 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.\n\nThis issue affects Cordova Plugin InAppBrowser: from 3.1.0 through 6.0.0.\n\nUsers are recommended to upgrade to version 6.0.1, which fixes the issue.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "cordova-plugin-inappbrowser"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.0.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-47430"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/cordova-plugin-inappbrowser"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/sb539nss3b0545wnyt1pbh7zgwjvz2qq"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2026/06/07/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-12T21:01:06Z",
"nvd_published_at" : "2026-06-08T12:16:32Z"
}
}