PoC Monitor
← All CVEs
CVE-2026-47430published 8 Jun 2026 10:22 UTCData: JSON · API

Apache Software Foundation Cordova Plugin InAppBrowser

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

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.5critical · scored by CNA · CWE-20
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

Apache Software Foundation Cordova Plugin InAppBrowser
  • >= 3.1.0, <= 6.0.0
cordova-plugin-inappbrowser (npm)
  • < 6.0.1

Fixed in 6.0.1

from GitHub Security Advisory GHSA-q42j-x8rq-pjg6

Mitigation

Upgrade cordova-plugin-inappbrowser to 6.0.1 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published8 Jun 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.