Skip to content
HighVulnerability

GHSA-cxmw-p77q-wchg: OpenClaw: Arbitrary code execution via unvalidated WebView JavascriptInterface

Published
Record updated
View JSON
Affected
  • openclaw < 2026.3.22
Fixed in
2026.3.22
  • released March 23, 2026, 3 days before disclosure

Summary

OpenClaw's Android Canvas WebView accepted calls to its JavascriptInterface bridge from pages on untrusted origins, letting such pages inject instructions into the app. The affected npm package `openclaw` is any version below 2026.3.22, and the flaw is fixed in 2026.3.22 and later.

Mitigation

Fixed in 2026.3.22 (commit 8b02ef133275be96d8aac2283100016c8a7f32e5). The fix snapshots page origin in apps/android/app/src/main/java/ai/openclaw/app/ui/CanvasScreen.kt and rejects untrusted bridge calls, with trusted origin and path validation centralized in apps/android/app/src/main/java/ai/openclaw/app/node/CanvasActionTrust.kt.