{"answers":{"affected":"2 open source packages ship an affected version, including cordova-plugin-inappbrowser. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-47430 in the wild and no public exploit code.","fix":"Upgrade cordova-plugin-inappbrowser to 6.0.1 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-47430 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2026-47430 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- cordova-plugin-inappbrowser (npm): affected all versions; fixed in 6.0.1\n- cordova-plugin-inappbrowser (npm): affected all versions; fixed in 6.0.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-47430/ (Markdown: https://insights.sbomify.com/CVE-2026-47430/index.md)","id":"CVE-2026-47430","markdown":"https://insights.sbomify.com/CVE-2026-47430/index.md","name":"CVE-2026-47430","record":{"aliases":["GHSA-q42j-x8rq-pjg6"],"analysis":{"component_type":"mobile_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Cordova InAppBrowser plugin","requires_auth":"none","summary":"Attackers can spoof Cordova plugin results by dispatching arbitrary callback IDs from InAppBrowser WebViews, potentially accessing sensitive data or modifying app state.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"cordova_inappbrowser","vendor":"apache"}],"cvss":{"score":9.5,"severity":"critical","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"## 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## 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: '\u003cvictim-callback-id\u003e', d: '...'})` to fire callbacks belonging to any other installed Cordova plugin (Camera, Contacts, File, Geolocation). Cordova callback IDs follow the predictable format `\u003cPluginName\u003e\u003csequential-integer\u003e`, 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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Cordova Plugin InAppBrowser: iOS: Arbitrary Cordova callback IDs can be dispatched without validation from InAppBrowser WebViews.","id":"CVE-2026-47430","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Denial of service in TensorRT-LLM","id":"CVE-2026-47470"},"packages":[{"ecosystem":"npm","fixed":["6.0.1"],"introduced":["0"],"last_affected":[],"package":"cordova-plugin-inappbrowser","purl":null,"source":"GHSA-q42j-x8rq-pjg6"},{"ecosystem":"npm","fixed":["6.0.1"],"introduced":["0"],"last_affected":[],"package":"cordova-plugin-inappbrowser","purl":"pkg:npm/cordova-plugin-inappbrowser","source":"GHSA-q42j-x8rq-pjg6"}],"prev":{"headline":"Vitest: Arbitrary file can be read and executed when Vitest UI server is listening","id":"CVE-2026-47429"},"products":["Cordova Plugin InAppBrowser"],"published":"2026-06-08","related":[{"cvss_score":9.8,"headline":"Privilege Escalation in cordova-plugin-inappbrowser","id":"CVE-2019-0219","kev_date_added":null,"published":"2020-01-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-08","vendors":["Apache Software Foundation"]},"summary":"Attackers can spoof Cordova plugin results by dispatching arbitrary callback IDs from InAppBrowser WebViews, potentially accessing sensitive data or modifying app state.","url":"https://insights.sbomify.com/CVE-2026-47430/"}