Read the docs
TI-2026-34993 Aliases CVE-2026-47430GHSA-q42j-x8rq-pjg6

Improper input validation in Apache Cordova Plugin InAppBrowser

Priority MEDIUM 44CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

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

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00723 54th percentileScored 2026-11-07
Fix Fixed cordova-plugin-inappbrowser (npm): 6.0.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheCordova Plugin InAppBrowser3.1.0 – 6.0.0—No fix listedCNA
—cordova-plugin-inappbrowser (npm)before 6.0.16.0.1Patch availableGHSA-q42j-x8rq-pjg6
  • Cordova Plugin InAppBrowser VendorApache Affected 3.1.0 – 6.0.0 Fixed in — No fix listed CNA
  • cordova-plugin-inappbrowser (npm) Vendor— Affected before 6.0.1 Fixed in 6.0.1 Patch available GHSA-q42j-x8rq-pjg6

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:cordova_inappbrowser:*:*:*:*:*:*:*:*3.1.0 to before 6.0.1VulnerableApache
  • cpe:2.3:a:apache:cordova_inappbrowser:*:*:*:*:*:*:*:* Versions 3.1.0 to before 6.0.1 Vulnerable ·Apache

Remediation

  • Fix · GHSA-q42j-x8rq-pjg6 cordova-plugin-inappbrowser (npm) Fixed in 6.0.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-47430
  2. 2026-10-03 Alias added: GHSA-q42j-x8rq-pjg6

References

  • TI-2019-00192 Cross-site scripting in Apache Cordova CVSS 3.1CRITICAL 9.8

Sources