Skip to content

CVE-2026-49456 Waku: Open Redirect via `unstable_redirect` Helper

LowCVSS 3.1 EPSS 0.40%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm waku(npm) < 1.0.0-beta.1; <= 1.0.0-beta.0 1.0.0-beta.1 Fixed
wakujs waku = < 1.0.0-beta.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
wakujs waku = < 1.0.0-beta.1 No fix listed
npm waku(npm) <= 1.0.0-beta.0 No fix listed
npm waku(npm) < 1.0.0-beta.1 1.0.0-beta.1

References