Wails: wildcardPatternToRegex allows Origin bypass via suffix match in BindingsAllowedOrigins
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| wailsapp | wails | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Wailsapp | Wails |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-47hv-j4px-h3c9 | Wails: wildcardPatternToRegex allows Origin bypass via suffix match in BindingsAllowedOrigins |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.499% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Wailsapp
Wailsapp wails |
|
| Vendors & Products |
Wailsapp
Wailsapp wails |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Wails is a framework for building desktop applications using Go and web technologies. From 2.0.0 until 2.13.0, BindingsAllowedOrigins in v2/internal/frontend/originvalidator/originValidator.go passes wildcard patterns to wildcardPatternToRegex, which expands every asterisk to an unrestricted regular-expression match. When an application configures a trailing or partial-label wildcard immediately after an allowed domain, an attacker-controlled lookalike origin can match the allowed suffix and invoke bound Go methods through IPC. A complete-component subdomain wildcard is an unaffected configuration. The resulting confidentiality, integrity, and availability impact depends on the file, database, command, credential, or other operations exposed by the application's bound methods. This issue is fixed in version 2.13.0. | |
| Title | Wails: wildcardPatternToRegex allows Origin bypass via suffix match in BindingsAllowedOrigins | |
| Weaknesses | CWE-625 | |
| References |
| |
| Metrics |
cvssV4_0
|