Skip to content

fix(mobile): update Capacitor to 8.5.3 - #564

Merged
MrYuion merged 1 commit into
developfrom
fix/capacitor-proxy-advisory
Oct 12, 2026
Merged

MrYuion merged 1 commit into
developfrom
fix/capacitor-proxy-advisory

Conversation

@MrYuion

@MrYuion MrYuion commented Oct 12, 2026

Copy link
Copy Markdown
Collaborator

Problem

Capacitor 8.0.0 to 8.3.4 has a critical advisory, GHSA-rvm3-566m-v7fv (Dependabot alerts #483 and #484). A link inside the app to the internal path /_capacitor_http_interceptor_ makes the native layer fetch a remote URL and run the response at the app origin.

The Android and iOS builds of workplace, booking-panel and control use Capacitor 8.2.0. Workplace and Booking Panel show calendar event bodies as HTML, and an external sender controls that content. The 8.0.0 to 8.3.4 range has no patch release, so Dependabot cannot open a fix.

Solution

  • Update @capacitor/core, @capacitor/cli, @capacitor/android and @capacitor/ios from 8.2.0 to 8.5.3.
  • Update the @capacitor/core version that tools/capacitor/prepare.mjs writes to the generated native workspace.

The web builds do not change. Installed apps stay vulnerable until they are rebuilt and redistributed.

Verification

  • nx run workplace:"mobile:sync:android" passes and the Android project resolves Capacitor 8.5.3.
  • The 8.5.3 Android and iOS sources contain the navigation guard for the proxy path.
  • The iOS simulator build of workplace passes with Capacitor 8.5.3 when the generated project targets iOS 17 (see the note below).
  • nx test common passes.

Not verified: an Android APK build (no Android SDK on the machine) and the sign-in deep link on a device.

Note: the iOS build is already broken on develop

nx run workplace:"mobile:build:ios" fails on develop with Capacitor 8.2.0 and on this branch with the same error:

The package product 'CapgoCapacitorIntune-product' requires minimum platform version 17.0
for the iOS platform, but this target supports 15.0

@capgo/capacitor-intune 8.1.2 needs iOS 17 and the generated project targets iOS 15. This pull request does not change that. The iOS apps cannot ship this fix until the target is raised to iOS 17 or the plugin changes.


Changes made by Claude Opus 5.5 in T3 Code, through the Claude Code harness.

🤖 Generated with Claude Code

Capacitor 8.0.0 to 8.3.4 lets a link inside the app load remote content
at the app origin through the internal HTTP proxy path
(GHSA-rvm3-566m-v7fv). That range has no patch release.

Update @capacitor/core, cli, android and ios to 8.5.3, and the core
version in the generated native workspace.
@vercel

vercel Bot commented Oct 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
frontend-templates Ignored Ignored Oct 12, 2026 5:11am UTC

@MrYuion
MrYuion merged commit 16e85a5 into develop Oct 12, 2026
41 checks passed
@MrYuion
MrYuion deleted the fix/capacitor-proxy-advisory branch October 12, 2026 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant