← News

Wails: iframe scripts can invoke privileged functions

HighAI-generated2026-11-27

CVE
CVE-2026-136628
Severity
High (CVSS 7.1)
Attack conditions
Remotely, over the network · No account needed · A user must take some action
Exploitation probability (EPSS)
0.3% (within 30 days; FIRST EPSS, 30 November 2026)

Summary

Wails versions prior to 2.17.1 on Linux contain a flaw that lets scripts loaded in an iframe bypass origin checks and call privileged backend methods.

Details

According to the NVD record, Wails before version 2.17.1 on Linux has an origin validation error in the sendMessageToBackend WebKitGTK handler. The bug allows scripts running in a child-frame to pass the top-level URI origin check.

An attacker who can control content loaded in an iframe can post crafted messages that reach the privileged IPC channel. This enables the attacker to invoke bound Go methods and perform Wails runtime operations that should be restricted.

What to do

The source record does not name a specific patch, fixed version or workaround. General measures:

  • Follow the vendor's security advisories.
  • Apply the update when it is released.
  • Limit access to the product as much as possible, especially from the internet.

Sources

Timeline

  • 25 November 2026 NVD record published
  • 27 November 2026 This article was written