CVE-2026-47430 Cordova Plugin InAppBrowser: iOS: Arbitrary Cordova callback IDs can be dispatched without validation from InAppBrowser WebViews.

Critical 9.5 Published Updated

Attackers can spoof Cordova plugin results by dispatching arbitrary callback IDs from InAppBrowser WebViews, potentially accessing sensitive data or modifying app state.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-47430?

CVE-2026-47430 is a critical missing authorization vulnerability in Apache Software Foundation Cordova Plugin InAppBrowser, published on 8 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-20

Which versions are affected by CVE-2026-47430?

2 open source packages ship an affected version, including cordova-plugin-inappbrowser. It affects 1 product.

PackageAffectedFixed in
cordova-plugin-inappbrowser npmAll versions6.0.1
cordova-plugin-inappbrowser npmAll versions6.0.1

Products include Apache Cordova Inappbrowser.

How do I fix CVE-2026-47430?

Upgrade cordova-plugin-inappbrowser to 6.0.1 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-47430 being exploited?

There is no known exploitation of CVE-2026-47430 in the wild and no public exploit code.

Sources

Also known as GHSA-q42j-x8rq-pjg6.

Is CVE-2026-47430 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free