GHSA-rvm3-566m-v7fv

Suggest an improvement
Source
https://github.com/advisories/GHSA-rvm3-566m-v7fv
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rvm3-566m-v7fv/GHSA-rvm3-566m-v7fv.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rvm3-566m-v7fv
Aliases
Published
2026-10-05T22:53:10Z
Modified
2026-10-05T23:00:05Z
Severity
  • 9.3 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N CVSS Calculator
Summary
Capacitor Android and iOS: remote content can be loaded at the app origin via the internal HTTP proxy path
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-346",
        "CWE-441"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-10-05T22:53:10Z",
    "nvd_published_at":  "2026-10-01T18:17:12Z",
    "severity":  "CRITICAL"
}
References

Affected packages

Maven
com.capacitorjs:core

Package

Name
com.capacitorjs:core
View open source insights on deps.dev
Purl
pkg:maven/com.capacitorjs/core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0.0
Fixed
6.2.2

Affected versions

6.*
6.0.0
6.1.0
6.1.1
6.1.2
6.2.0
6.2.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rvm3-566m-v7fv/GHSA-rvm3-566m-v7fv.json"
com.capacitorjs:core

Package

Name
com.capacitorjs:core
View open source insights on deps.dev
Purl
pkg:maven/com.capacitorjs/core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.0.0
Fixed
7.6.9

Affected versions

7.*
7.0.0
7.0.1
7.1.0
7.2.0
7.3.0
7.4.0
7.4.2
7.4.3
7.4.4
7.4.5
7.5.0
7.6.0
7.6.1
7.6.2
7.6.3
7.6.4
7.6.5
7.6.6
7.6.7
7.6.8

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rvm3-566m-v7fv/GHSA-rvm3-566m-v7fv.json"
com.capacitorjs:core

Package

Name
com.capacitorjs:core
View open source insights on deps.dev
Purl
pkg:maven/com.capacitorjs/core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
8.5.0
Fixed
8.5.1

Affected versions

8.*
8.5.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rvm3-566m-v7fv/GHSA-rvm3-566m-v7fv.json"
com.capacitorjs:core

Package

Name
com.capacitorjs:core
View open source insights on deps.dev
Purl
pkg:maven/com.capacitorjs/core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
8.3.5
Fixed
8.4.3

Affected versions

8.*
8.4.0
8.4.1
8.4.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rvm3-566m-v7fv/GHSA-rvm3-566m-v7fv.json"
com.capacitorjs:core

Package

Name
com.capacitorjs:core
View open source insights on deps.dev
Purl
pkg:maven/com.capacitorjs/core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
8.0.0
Last Affected
8.3.4

Affected versions

8.*
8.0.0
8.0.1
8.0.2
8.1.0
8.2.0
8.3.0
8.3.1
8.3.2
8.3.3
8.3.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rvm3-566m-v7fv/GHSA-rvm3-566m-v7fv.json"
npm
@capacitor/android

Package

Name
@capacitor/android
View open source insights on deps.dev
Purl
pkg:npm/%40capacitor/android

Affected ranges

Type
SEMVER
Events
Introduced
6.0.0
Fixed
6.2.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rvm3-566m-v7fv/GHSA-rvm3-566m-v7fv.json"
@capacitor/android

Package

Name
@capacitor/android
View open source insights on deps.dev
Purl
pkg:npm/%40capacitor/android

Affected ranges

Type
SEMVER
Events
Introduced
7.0.0
Fixed
7.6.9

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rvm3-566m-v7fv/GHSA-rvm3-566m-v7fv.json"
@capacitor/ios

Package

Name
@capacitor/ios
View open source insights on deps.dev
Purl
pkg:npm/%40capacitor/ios

Affected ranges

Type
SEMVER
Events
Introduced
6.0.0
Fixed
6.2.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rvm3-566m-v7fv/GHSA-rvm3-566m-v7fv.json"
@capacitor/ios

Package

Name
@capacitor/ios
View open source insights on deps.dev
Purl
pkg:npm/%40capacitor/ios

Affected ranges

Type
SEMVER
Events
Introduced
7.0.0
Fixed
7.6.9

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rvm3-566m-v7fv/GHSA-rvm3-566m-v7fv.json"
@capacitor/android

Package

Name
@capacitor/android
View open source insights on deps.dev
Purl
pkg:npm/%40capacitor/android

Affected ranges

Type
SEMVER
Events
Introduced
8.5.0
Fixed
8.5.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rvm3-566m-v7fv/GHSA-rvm3-566m-v7fv.json"
@capacitor/ios

Package

Name
@capacitor/ios
View open source insights on deps.dev
Purl
pkg:npm/%40capacitor/ios

Affected ranges

Type
SEMVER
Events
Introduced
8.5.0
Fixed
8.5.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rvm3-566m-v7fv/GHSA-rvm3-566m-v7fv.json"
@capacitor/android

Package

Name
@capacitor/android
View open source insights on deps.dev
Purl
pkg:npm/%40capacitor/android

Affected ranges

Type
SEMVER
Events
Introduced
8.3.5
Fixed
8.4.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rvm3-566m-v7fv/GHSA-rvm3-566m-v7fv.json"
@capacitor/ios

Package

Name
@capacitor/ios
View open source insights on deps.dev
Purl
pkg:npm/%40capacitor/ios

Affected ranges

Type
SEMVER
Events
Introduced
8.3.5
Fixed
8.4.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rvm3-566m-v7fv/GHSA-rvm3-566m-v7fv.json"
@capacitor/android

Package

Name
@capacitor/android
View open source insights on deps.dev
Purl
pkg:npm/%40capacitor/android

Affected ranges

Type
SEMVER
Events
Introduced
8.0.0
Last Affected
8.3.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rvm3-566m-v7fv/GHSA-rvm3-566m-v7fv.json"
@capacitor/ios

Package

Name
@capacitor/ios
View open source insights on deps.dev
Purl
pkg:npm/%40capacitor/ios

Affected ranges

Type
SEMVER
Events
Introduced
8.0.0
Last Affected
8.3.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rvm3-566m-v7fv/GHSA-rvm3-566m-v7fv.json"
SwiftURL
github.com/ionic-team/capacitor-swift-pm

Package

Name
github.com/ionic-team/capacitor-swift-pm
Purl
pkg:swift/github.com/ionic-team/capacitor-swift-pm

Affected ranges

Type
SEMVER
Events
Introduced
6.0.0
Fixed
6.2.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rvm3-566m-v7fv/GHSA-rvm3-566m-v7fv.json"
github.com/ionic-team/capacitor-swift-pm

Package

Name
github.com/ionic-team/capacitor-swift-pm
Purl
pkg:swift/github.com/ionic-team/capacitor-swift-pm

Affected ranges

Type
SEMVER
Events
Introduced
7.0.0
Fixed
7.6.9

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rvm3-566m-v7fv/GHSA-rvm3-566m-v7fv.json"
github.com/ionic-team/capacitor-swift-pm

Package

Name
github.com/ionic-team/capacitor-swift-pm
Purl
pkg:swift/github.com/ionic-team/capacitor-swift-pm

Affected ranges

Type
SEMVER
Events
Introduced
8.5.0
Fixed
8.5.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rvm3-566m-v7fv/GHSA-rvm3-566m-v7fv.json"
github.com/ionic-team/capacitor-swift-pm

Package

Name
github.com/ionic-team/capacitor-swift-pm
Purl
pkg:swift/github.com/ionic-team/capacitor-swift-pm

Affected ranges

Type
SEMVER
Events
Introduced
8.3.5
Fixed
8.4.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rvm3-566m-v7fv/GHSA-rvm3-566m-v7fv.json"
github.com/ionic-team/capacitor-swift-pm

Package

Name
github.com/ionic-team/capacitor-swift-pm
Purl
pkg:swift/github.com/ionic-team/capacitor-swift-pm

Affected ranges

Type
SEMVER
Events
Introduced
8.0.0
Last Affected
8.3.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rvm3-566m-v7fv/GHSA-rvm3-566m-v7fv.json"