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

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-06-08 · Modified: 2026-06-08
- Aliases: GHSA-q42j-x8rq-pjg6
- Record: https://cvemate.com/vulnerability/CVE-2026-47430 · JSON: https://cvemate.com/vulnerability/CVE-2026-47430/json

## Description

```text
## 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.
```

## Signals

- CVSS: 9.5 critical (v4.0, CVE.org) 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
- EPSS: 0.723%, percentile 55.394%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation cordova plugin inappbrowser: ≥ 3.1.0, ≤ 6.0.0
- apache cordova\_inappbrowser: ≥ 3.1.0, \< 6.0.1
- Npm cordova-plugin-inappbrowser (Npm): \< 6.0.1

## References

- <https://lists.apache.org/thread/sb539nss3b0545wnyt1pbh7zgwjvz2qq>
- <http://www.openwall.com/lists/oss-security/2026/06/07/1>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-47430>
- <https://github.com/apache/cordova-plugin-inappbrowser>

---

Data as of 2026-12-05T04:22:12.132Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
