Vulnerability · Published Sep 3, 2026 · Assigned by GitHub_M
CVE-2026-49456Waku: Open Redirect via `unstable_redirect` Helper
Low 3.1
In plain English
A low-severity open redirect in waku from wakujs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Waku is the minimal React framework. Prior to version 1.0.0-beta.1, the unstable_redirect() helper exported from waku/router/server (packages/waku/src/router/define-router.tsx:156–161) accepts an arbitrary string and reflects it unchanged into the HTTP Location response header with no URL validation, scheme restriction, or path-only enforcement. Any application that passes user-controlled input to this helper — the natural pattern documented in the JSDoc and official fixtures — is vulnerable to open redirect attacks. An attacker who convinces a victim to click a crafted link can silently redirect the browser to an arbitrary external domain, enabling phishing, credential harvesting, and OAuth token theft. Additionally, scheme-relative URLs (//evil.example/) bypass naive https?://-only allow-list filters that developers might add as ad-hoc mitigations. This issue has been patched in version 1.0.0-beta.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | waku | 1.0.0-beta.1 | GHSA-43fc-v873-qw85 |
Affected products (as reported)
Weakness: CWE-601 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
References
- https://github.com/wakujs/waku/security/advisories/GHSA-43fc-v873-qw85 x_refsource_CONFIRM
- https://github.com/wakujs/waku/pull/2090 x_refsource_MISC
- https://github.com/wakujs/waku/releases/tag/v1.0.0-beta.1 x_refsource_MISC