Wailsの脆弱性、iframe内のスクリプトが特権的なIPCを呼び出せる
Summary
Wails 2.17.1より前のLinux版に、オリジンの検証不備による脆弱性が見つかりました。iframeに読み込まれたコンテンツから、Goのバインドされたメソッドや Wails のランタイム操作を呼び出される可能性があります。修正版の2.17.1が公開されているので、Wailsを使うアプリは2.17.1以降へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Wails 2.17.1より前のLinux版に、オリジンの検証不備による脆弱性が見つかりました。iframeに読み込まれたコンテンツから、Goのバインドされたメソッドや Wails のランタイム操作を呼び出される可能性があります。修正版の2.17.1が公開されているので、Wailsを使うアプリは2.17.1以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| wailsappwails |
< 2.17.1→ 2.17.1 |
2.17.1 |
Original description The description as published by the source.
Wails before 2.17.1 on Linux contains an origin validation error in the sendMessageToBackend WebKitGTK handler that allows child-frame scripts to invoke the privileged IPC channel. Attackers controlling content loaded in an iframe can post messages that pass the top-level URI origin check and call bound Go methods and Wails runtime operations.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web pkg.go.dev