capacitor: Origin Validation Error
CVE-2026-103922 is a critical-severity origin validation error vulnerability in capacitor from Ionic-team, with a CVSS 3.1 base score of 9.3 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, but only if a user takes part, for example by opening a link or file. Affected capacitor versions: >= 6.0.0, < 6.2.2; >= 7.0.0, < 7.6.9; >= 8.0.0, < 8.3.5, and others listed below. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.41% chance of exploitation within 30 days, which is low compared with other CVEs.
Critical severity: a successful attack would have severe impact.
What to do
- Check which version of capacitor you run against the affected versions below, and install the vendor's latest release.
- Read the advisory on github.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
- Because the attack needs a user to take part, warn users about unexpected links and files related to this product until it is patched.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Ionic-team | capacitor | >= 6.0.0, < 6.2.2; >= 7.0.0, < 7.6.9; >= 8.0.0, < 8.3.5; >= 8.3.5, < 8.4.3; >= 8.5.0, < 8.5.1 | Not stated |
| @capacitor | android | >= 8.5.0, < 8.5.1; >= 8.3.5, < 8.4.3; >= 8.0.0, < 8.3.5; >= 7.0.0, < 7.6.9; >= 6.0.0, < 6.2.2 | Not stated |
| @capacitor | ios | >= 8.5.0, < 8.5.1; >= 8.3.5, < 8.4.3; >= 8.0.0, < 8.3.5; >= 7.0.0, < 7.6.9; >= 6.0.0, < 6.2.2 | Not stated |
| Com.capacitorjs | core | >= 8.5.0, < 8.5.1; >= 8.3.5, < 8.4.3; >= 8.0.0, < 8.3.5; >= 7.0.0, < 7.6.9; >= 6.0.0, < 6.2.2 | Not stated |
| Swift | github.com/ionic-team/capacitor-swift-pm | >= 8.5.0, < 8.5.1; >= 8.3.5, < 8.4.3; >= 8.0.0, < 8.3.5; >= 7.0.0, < 7.6.9; >= 6.0.0, < 6.2.2 | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- RequiredA user must take an action such as opening a file or link.
- Scope
- ChangedThe attack can reach beyond the vulnerable component into other systems.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- NoneAvailability is not affected.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N. Scored by CNA (github.com).
Official description
Capacitor is a cross-platform native runtime for web applications. From 6.0.0 until 6.2.2, 7.6.9, 8.3.5, 8.4.3, and 8.5.1, the Android and iOS WebView navigation guard validates a target URL's host and scheme but not its path, allowing a victim who activates an untrusted link to navigate a frame to /_capacitor_http_interceptor_. The native proxy can fetch an attacker-selected URL and return the response as a document at the application's own origin, allowing script in that response to access same-origin storage, cookies, and registered Capacitor plugin capabilities. Applications remain affected when CapacitorHttp is disabled because affected releases serve the proxy path regardless of that setting. This issue is fixed in versions 6.2.2, 7.6.9, 8.3.5, 8.4.3, and 8.5.1.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Origin Validation Error
The product does not properly verify that the source of data or communication is valid.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- github.com/ionic-team/capacitor/commit/430356a91e1419fc66862dc09835081aa501677e
- github.com/ionic-team/capacitor/commit/80b6c5e81d062e1e158914040f49e044d95b7ccb
- github.com/ionic-team/capacitor/commit/85ccc44151fdd5ae5e0d806d875766ef4b84ad5d
- github.com/ionic-team/capacitor/commit/af9a287fef45f0ac68ce640cb42fed2d06b0f1b4
- github.com/ionic-team/capacitor/commit/d5e3170ba0ff155fc542b7e6d16cff5201406540
- github.com/ionic-team/capacitor/commit/ee586ae680887ba99d066616f976db149542d922
- github.com/ionic-team/capacitor/releases/tag/8.5.1
Recent Origin Validation Error vulnerabilities
- 8.1 High severity
- 7.4 High severity
- 8.1 High severity
- 8.1 High severity
- 8.1 High severity
- 8.1 High severity
Spotted an error? Tell us.