Vulnerabilities in pkg:maven/com.capacitorjs/core

PACKAGE
Advisory Identifier: GHSA-rvm3-566m-v7fv
Advisory Summary

CVE-2026-103922 is a CRITICAL (CVSS 9.3) remote content can be loaded vulnerability (CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')) affecting Capacitor Android and iOS libraries in the npm ecosystem. The issue involves remote content can be loaded at the app origin via the internal http proxy path. Remediation is available by upgrading affected packages to version 6.2.2, 7.6.9, 8.5.1, 8.4.3.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/com.capacitorjs/core

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/com.capacitorjs/core. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-rvm3-566m-v7fv CVE-2026-103922 CRITICAL Capacitor Android and iOS: remote content can be loaded at the app origin via the internal HTTP proxy path

CVE-2026-103922 at a Glance

CVE Identifier CVE-2026-103922
GHSA Identifier GHSA-rvm3-566m-v7fv
Severity CRITICAL
CVSS v3.1 Base Score 9.3
CWE Classification CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')
Affected Product Capacitor Android and iOS
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 9.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-103922

To remediate this vulnerability, upgrade all affected Capacitor Android and iOS dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@capacitor/android fixed: 6.2.2
npm install @capacitor/android@6.2.2
@capacitor/android fixed: 7.6.9
npm install @capacitor/android@7.6.9
@capacitor/ios fixed: 6.2.2
npm install @capacitor/ios@6.2.2
@capacitor/ios fixed: 7.6.9
npm install @capacitor/ios@7.6.9
github.com/ionic-team/capacitor-swift-pm fixed: 6.2.2
Upgrade github.com/ionic-team/capacitor-swift-pm to 6.2.2
github.com/ionic-team/capacitor-swift-pm fixed: 7.6.9
Upgrade github.com/ionic-team/capacitor-swift-pm to 7.6.9
com.capacitorjs:core fixed: 6.2.2
<dependency>
    <groupId>com.capacitorjs</groupId>
    <artifactId>core</artifactId>
    <version>6.2.2</version>
</dependency>
com.capacitorjs:core fixed: 7.6.9
<dependency>
    <groupId>com.capacitorjs</groupId>
    <artifactId>core</artifactId>
    <version>7.6.9</version>
</dependency>
@capacitor/android fixed: 8.5.1
npm install @capacitor/android@8.5.1
@capacitor/ios fixed: 8.5.1
npm install @capacitor/ios@8.5.1
github.com/ionic-team/capacitor-swift-pm fixed: 8.5.1
Upgrade github.com/ionic-team/capacitor-swift-pm to 8.5.1
com.capacitorjs:core fixed: 8.5.1
<dependency>
    <groupId>com.capacitorjs</groupId>
    <artifactId>core</artifactId>
    <version>8.5.1</version>
</dependency>
com.capacitorjs:core fixed: 8.4.3
<dependency>
    <groupId>com.capacitorjs</groupId>
    <artifactId>core</artifactId>
    <version>8.4.3</version>
</dependency>
@capacitor/android fixed: 8.4.3
npm install @capacitor/android@8.4.3
@capacitor/ios fixed: 8.4.3
npm install @capacitor/ios@8.4.3
github.com/ionic-team/capacitor-swift-pm fixed: 8.4.3
Upgrade github.com/ionic-team/capacitor-swift-pm to 8.4.3
github.com/ionic-team/capacitor-swift-pm fixed: Latest secure release
Upgrade github.com/ionic-team/capacitor-swift-pm to Latest secure release
com.capacitorjs:core fixed: Latest secure release
<dependency>
    <groupId>com.capacitorjs</groupId>
    <artifactId>core</artifactId>
    <version>Latest secure release</version>
</dependency>
@capacitor/android fixed: Latest secure release
npm install @capacitor/android@Latest secure release
@capacitor/ios fixed: Latest secure release
npm install @capacitor/ios@Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @capacitor/android

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-103922, inspect your project dependencies using npm:

npm ls @capacitor/android

Analyze the terminal output to locate any version of Capacitor Android and iOS in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.2.2), your application is affected.

Note: The npm ls @capacitor/android command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-441: Unintended Proxy or Intermediary ('Confused Deputy'), where the product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere. this causes the product to appear to be the source of the request, leading it to act as a proxy or other intermediary between the upstream component and the external actor. In Capacitor Android and iOS, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Capacitor's WebView navigation guard validated only the **host and scheme** of a target URL, not its **path**. Because the internal HTTP proxy path (`/_capacitor_http_interceptor_`) is served at the application's own origin, a frame navigation to it was always treated as in-app navigation and allowed. Loading that path as a document caused the native layer to fetch an arbitrary, caller-specified URL and return the response body to the WebView **at the app's own origin**. Script in that response then ran with full same-origin trust: access to `localStorage`, cookies, and every native capability the application exposes through its registered Capacitor plugins. The proxy handler was additionally served **regardless of whether the `CapacitorHttp` plugin was enabled**, so applications that never enabled `CapacitorHttp` were also affected. Exploitation requires a victim to activate a link inside the application's WebView. Any Capacitor application that renders user-controlled or unsanitized links (chat messages, comments, rich-text content) is a viable delivery surface. Both **Android and iOS** are affected. ### Patches Two changes on each platform: 1. The navigation guard now blocks frame navigations whose path is the internal proxy path. 2. The proxy handler is served only when `CapacitorHttp` is enabled, and never for a document (main frame) request. Legitimate `CapacitorHttp` usage is unaffected. `fetch` and `XMLHttpRequest` are subresource requests and do not pass through the navigation guard. Upgrade to a patched version, then rebuild and redistribute your application. ### Workarounds If you cannot upgrade immediately, note first that **disabling `CapacitorHttp` is not sufficient** on affected versions, because the proxy path is served regardless of that setting. Registered plugins are consulted before the navigation guard runs, so a small plugin can block the path. On Android, override `shouldOverrideLoad(Uri url)` and return `true` when `url.getPath()` starts with `/_capacitor_http_interceptor_`. On iOS, implement `shouldOverrideLoad(_:)` and return `true` for the same path. Returning `true` cancels the navigation; return `null`/`nil` for all other URLs so normal navigation is unchanged. Independently, sanitize user-controlled link targets before rendering them in the WebView.

CVE-2026-103922 Affected Capacitor Android and iOS Versions

20 component(s)
Fixed Versions:
6.2.27.6.98.5.18.4.3
Product / Package Ecosystem Affected Versions Fixed Version
@capacitor/android
npm
≥ 6.0.0
< 6.2.2
6.2.2
@capacitor/android
npm
≥ 7.0.0
< 7.6.9
7.6.9
@capacitor/ios
npm
≥ 6.0.0
< 6.2.2
6.2.2
@capacitor/ios
npm
≥ 7.0.0
< 7.6.9
7.6.9
github.com/ionic-team/capacitor-swift-pm
SwiftURL
≥ 6.0.0
< 6.2.2
6.2.2
github.com/ionic-team/capacitor-swift-pm
SwiftURL
≥ 7.0.0
< 7.6.9
7.6.9
com.capacitorjs:core
Maven
≥ 6.0.0
< 6.2.2
6.2.2
com.capacitorjs:core
Maven
≥ 7.0.0
< 7.6.9
7.6.9
@capacitor/android
npm
≥ 8.5.0
< 8.5.1
8.5.1
@capacitor/ios
npm
≥ 8.5.0
< 8.5.1
8.5.1
github.com/ionic-team/capacitor-swift-pm
SwiftURL
≥ 8.5.0
< 8.5.1
8.5.1
com.capacitorjs:core
Maven
≥ 8.5.0
< 8.5.1
8.5.1
com.capacitorjs:core
Maven
≥ 8.3.5
< 8.4.3
8.4.3
@capacitor/android
npm
≥ 8.3.5
< 8.4.3
8.4.3
@capacitor/ios
npm
≥ 8.3.5
< 8.4.3
8.4.3
github.com/ionic-team/capacitor-swift-pm
SwiftURL
≥ 8.3.5
< 8.4.3
8.4.3
github.com/ionic-team/capacitor-swift-pm
SwiftURL
≥ 8.0.0
≤ 8.3.4
com.capacitorjs:core
Maven
≥ 8.0.0
≤ 8.3.4
@capacitor/android
npm
≥ 8.0.0
≤ 8.3.4
@capacitor/ios
npm
≥ 8.0.0
≤ 8.3.4

References

Frequently Asked Questions

What is CVE-2026-103922?
CVE-2026-103922 is a security vulnerability in Capacitor Android and iOS involving remote content can be loaded at the app origin via the internal HTTP proxy path under CWE-441: Unintended Proxy or Intermediary ('Confused Deputy').
Which Capacitor Android and iOS versions are affected?
Affected versions include releases prior to 6.2.2, 7.6.9, 8.5.1, 8.4.3 across affected packages: @capacitor/android, @capacitor/ios, github.com/ionic-team/capacitor-swift-pm, com.capacitorjs:core.
What version fixes CVE-2026-103922?
Upgrading to 6.2.2, 7.6.9, 8.5.1, 8.4.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @capacitor/android affected?
Yes, @capacitor/android is affected in releases prior to 6.2.2, 7.6.9, 8.5.1, 8.4.3, Latest secure release. Upgrade your dependency to 6.2.2, 7.6.9, 8.5.1, 8.4.3, Latest secure release or later.
Is @capacitor/ios affected?
Yes, @capacitor/ios is affected in releases prior to 6.2.2, 7.6.9, 8.5.1, 8.4.3, Latest secure release. Upgrade your dependency to 6.2.2, 7.6.9, 8.5.1, 8.4.3, Latest secure release or later.
What is the CVSS score of CVE-2026-103922?
CVE-2026-103922 has a CVSS v3.1 base score of 9.3 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N.
What CWE is associated with CVE-2026-103922?
CVE-2026-103922 is classified under CWE-441: Unintended Proxy or Intermediary ('Confused Deputy') (The product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere. This causes the product to appear to be the source of the request, leading it to act as a proxy or other intermediary between the upstream component and the external actor.).
How can I check npm dependencies for CVE-2026-103922?
Run the dependency tree command: 'npm ls @capacitor/android'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-rvm3-566m-v7fv",
  "modified" : "2026-10-05T22:53:10Z",
  "published" : "2026-10-05T22:53:10Z",
  "aliases" : [ "CVE-2026-103922" ],
  "summary" : "Capacitor Android and iOS: remote content can be loaded at the app origin via the internal HTTP proxy path",
  "details" : "### Impact\n\nCapacitor's WebView navigation guard validated only the **host and scheme** of a\ntarget URL, not its **path**. Because the internal HTTP proxy path\n(`/_capacitor_http_interceptor_`) is served at the application's own origin, a\nframe navigation to it was always treated as in-app navigation and allowed.\n\nLoading that path as a document caused the native layer to fetch an arbitrary,\ncaller-specified URL and return the response body to the WebView **at the app's\nown origin**. Script in that response then ran with full same-origin trust:\naccess to `localStorage`, cookies, and every native capability the application\nexposes through its registered Capacitor plugins.\n\nThe proxy handler was additionally served **regardless of whether the\n`CapacitorHttp` plugin was enabled**, so applications that never enabled\n`CapacitorHttp` were also affected.\n\nExploitation requires a victim to activate a link inside the application's\nWebView. Any Capacitor application that renders user-controlled or unsanitized\nlinks (chat messages, comments, rich-text content) is a viable delivery surface.\n\nBoth **Android and iOS** are affected.\n\n### Patches\n\nTwo changes on each platform:\n\n1. The navigation guard now blocks frame navigations whose path is the internal\n   proxy path.\n2. The proxy handler is served only when `CapacitorHttp` is enabled, and never\n   for a document (main frame) request.\n\nLegitimate `CapacitorHttp` usage is unaffected. `fetch` and `XMLHttpRequest` are\nsubresource requests and do not pass through the navigation guard.\n\nUpgrade to a patched version, then rebuild and redistribute your application.\n\n### Workarounds\n\nIf you cannot upgrade immediately, note first that **disabling `CapacitorHttp`\nis not sufficient** on affected versions, because the proxy path is served\nregardless of that setting.\n\nRegistered plugins are consulted before the navigation guard runs, so a small\nplugin can block the path. On Android, override `shouldOverrideLoad(Uri url)` and\nreturn `true` when `url.getPath()` starts with `/_capacitor_http_interceptor_`.\nOn iOS, implement `shouldOverrideLoad(_:)` and return `true` for the same path.\nReturning `true` cancels the navigation; return `null`/`nil` for all other URLs\nso normal navigation is unchanged.\n\nIndependently, sanitize user-controlled link targets before rendering them in the\nWebView.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@capacitor/android"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.2.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@capacitor/android"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.0.0"
      }, {
        "fixed" : "7.6.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@capacitor/ios"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.2.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@capacitor/ios"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.0.0"
      }, {
        "fixed" : "7.6.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "SwiftURL",
      "name" : "github.com/ionic-team/capacitor-swift-pm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.2.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "SwiftURL",
      "name" : "github.com/ionic-team/capacitor-swift-pm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.0.0"
      }, {
        "fixed" : "7.6.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.capacitorjs:core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.2.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.capacitorjs:core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.0.0"
      }, {
        "fixed" : "7.6.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@capacitor/android"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.5.0"
      }, {
        "fixed" : "8.5.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@capacitor/ios"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.5.0"
      }, {
        "fixed" : "8.5.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "SwiftURL",
      "name" : "github.com/ionic-team/capacitor-swift-pm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.5.0"
      }, {
        "fixed" : "8.5.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.capacitorjs:core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.5.0"
      }, {
        "fixed" : "8.5.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.capacitorjs:core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.3.5"
      }, {
        "fixed" : "8.4.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@capacitor/android"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.3.5"
      }, {
        "fixed" : "8.4.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@capacitor/ios"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.3.5"
      }, {
        "fixed" : "8.4.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "SwiftURL",
      "name" : "github.com/ionic-team/capacitor-swift-pm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.3.5"
      }, {
        "fixed" : "8.4.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "SwiftURL",
      "name" : "github.com/ionic-team/capacitor-swift-pm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.0.0"
      }, {
        "last_affected" : "8.3.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.capacitorjs:core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.0.0"
      }, {
        "last_affected" : "8.3.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@capacitor/android"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.0.0"
      }, {
        "last_affected" : "8.3.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@capacitor/ios"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.0.0"
      }, {
        "last_affected" : "8.3.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ionic-team/capacitor/security/advisories/GHSA-rvm3-566m-v7fv"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-103922"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ionic-team/capacitor/commit/430356a91e1419fc66862dc09835081aa501677e"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ionic-team/capacitor/commit/745b5f805bf77bc6463977cc7d718cd9de44ccbc"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ionic-team/capacitor/commit/80b6c5e81d062e1e158914040f49e044d95b7ccb"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ionic-team/capacitor/commit/85ccc44151fdd5ae5e0d806d875766ef4b84ad5d"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ionic-team/capacitor/commit/af9a287fef45f0ac68ce640cb42fed2d06b0f1b4"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ionic-team/capacitor/commit/d5e3170ba0ff155fc542b7e6d16cff5201406540"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ionic-team/capacitor/commit/ee586ae680887ba99d066616f976db149542d922"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ionic-team/capacitor"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ionic-team/capacitor/releases/tag/8.5.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-346", "CWE-441" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-10-05T22:53:10Z",
    "nvd_published_at" : "2026-10-01T18:17:12Z"
  }
}