Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft URL embedding malicious redirect parameter
-
DeliveryDeliver phishing link to target victim
-
ExploitVictim clicks link and requests vulnerable waku endpoint
-
ExecutionApplication passes query param unvalidated to unstable_redirect()
-
Persisthandler.ts reflects value directly into Location header
-
ImpactBrowser follows 307 redirect to attacker-controlled phishing domain
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that an application developer has written code that passes user-controlled input - such as a URL query parameter ( |
| Impact | The provided CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N) yields a base score of 3.1, classified Low. The AC:H metric reflects the prerequisite that application code must pass user-controlled input to |
| Exploit ScenarioDerived | An attacker identifies a waku application with a post-login redirect endpoint that passes a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 08, 2026
Open redirect in waku's unstable_redirect() server-side router helper allows a network attacker to redirect victims' browsers to arbitrary external domains - including phishing sites for credential harvesting and OAuth token theft - by injecting a malicious location string into any waku route that passes user-controlled query parameters to the function. The vulnerability affects waku 1.0.0-beta.0 across all supported runtime adapters (Node.js, Cloudflare Workers, Vercel Edge, Deno), as the reflection path in handler.ts is shared. A dynamic proof-of-concept was confirmed by the reporter in two independent Docker-based runs against commit 8e9f542; no vendor-released patch is confirmed at time of analysis, though a v1.0.0-beta.1 release tag appears in advisory references.
RemediationAI
No vendor-released patch has been confirmed at time of analysis. The advisory references a v1.0.0-beta.1 release at https://github.com/wakujs/waku/releases/tag/v1.0.0-beta.1 - operators should inspect this release for the fix and upgrade if it addresses GHSA-43fc-v873-qw85. Until a patch is confirmed, apply application-level input validation at every call site of unstable_redirect(): reject any location value that does not begin with exactly one / (blocking //evil.example scheme-relative bypasses), and reject strings containing control characters (\x00-\x1f). Do not rely solely on https?:// prefix rejection, as scheme-relative URLs circumvent this filter. Adding an explicit allowlist of permitted redirect destinations - limiting acceptable values to known application paths - is the most robust compensating control. Be aware that CRLF injection protection in the Location header is provided by Node.js via ERR_INVALID_CHAR, but this is platform-specific and is NOT guaranteed on Cloudflare Workers, Deno Deploy, or Vercel Edge; a cross-runtime CRLF audit is recommended before relying on this as a defense.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Waku is a React-based full-stack framework distributed as the waku npm package (CPE: pkg:npm/waku). The affected API is unstable_redirect() exported from waku/router/server, implemented in packages/waku/src/router/define-router.tsx at lines 156-161. The function accepts an arbitrary location: string and throws it as a custom error via createCustomError(), which propagates through getErrorInfo() in the request handler (handler.ts:79-89). At line 87, headers.location = info.location places the raw, unvalidated string directly into the HTTP Location response header before returning a 3xx Response. CWE-601 (URL Redirection to Untrusted Site) is the root cause: no scheme restriction is applied, no path-only enforcement exists, and scheme-relative URLs such as //evil.example/ bypass any naive https?:// prefix checks developers might add as ad-hoc defenses. The JSDoc comment reads 'only URL pathname is supported', but this is purely documentary - no runtime enforcement is present in the framework code.
Know when Open Redirect gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
AC:L because crafting the exploit URL is trivial once vulnerable code is deployed; UI:R requires victim click; no direct C or A impact.
Primary rating from Vendor (https://github.com/wakujs/waku).
CVSS VectorVendor: https://github.com/wakujs/waku
DescriptionCVE.org
Summary
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.
Dynamic PoC confirmed against waku 1.0.0-beta.0 (commit 8e9f542) in an isolated Docker environment. Two independent dynamic runs produced identical results.
---
Root Cause
packages/waku/src/router/define-router.tsx:156-161:
export function unstable_redirect(
location: string, // only URL `pathname` is supported.
status: 303 | 307 | 308 = 307,
): never {
throw createCustomError('Redirect', { status, location });
}The JSDoc comment states "only URL pathname is supported", but this constraint is expressed as documentation only - the function performs no validation. The location value propagates via createCustomError (custom-errors.ts:22-26) into an error digest, is recovered by getErrorInfo in the request handler (handler.ts:79-89), and reflected directly into headers.location of the outgoing Response with no sanitization:
if (info?.location) {
headers.location = info.location; // handler.ts:87 - unvalidated reflection
}
return new Response(body, { status, headers });---
Trigger (one-line summary)
Any developer-supplied user input passed to unstable_redirect() is reflected unchanged into the HTTP Location header, enabling navigation to an attacker-controlled domain.
---
Affected Entry Surfaces
unstable_redirect(location, status?)-waku/router/serverpublic export- Any page/route component that passes
searchParams,query, or other user-
controlled strings to unstable_redirect (the standard post-login or callback redirect pattern)
- All waku adapters (Node.js, Cloudflare Workers, Vercel Edge, Deno) share the same
handler.ts reflection path; cross-runtime CRLF parity is unaudited (see note below)
---
Additional Defense-in-Depth Concern
On Node.js, CRLF injection via the Location header is rejected by node:_http_outgoing.setHeader (ERR_INVALID_CHAR). This defense is platform-specific and not present in the waku source. Cloudflare Workers, Deno Deploy, and other edge runtimes have not been verified to offer equivalent protection. A cross-runtime audit is recommended.
---
Suggested Fix Outline
Validate the location argument inside unstable_redirect before the error is thrown: reject any value that does not begin with a single / (no //), and reject any value containing control characters (\x00-\x1f). An opt-in allow-list for intentional cross-origin redirects can be provided via a framework configuration option.
---
Disclosure
| Field | Value |
|---|---|
| Reporter | j0hndo (dohyun4466@gmail.com) |
| Discovery date | 2026-05-17 |
| Embargo | 90 days from acknowledgment |
| Patched version | Not yet available |
| Public references | CWE-601; OWASP A01:2021 |
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Open Redirect
View allA malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL ca
GFI Kerio Control versions 9.2.5 through 9.4.5 contain an HTTP response splitting vulnerability in the dest parameter of
PHP through 7.0.8 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect
Multiple open redirect vulnerabilities in Apache Struts 2.0.0 through 2.3.15 allow remote attackers to redirect users to
When the default servlet in Apache Tomcat versions 9.0.0.M1 to 9.0.11, 8.5.0 to 8.5.33 and 7.0.23 to 7.0.90 returned a r
In Apache Airflow versions prior to 2.4.3, there was an open redirect in the webserver's `/login` endpoint. Rated medium
Open redirect vulnerability in age-verification.php in the Age Verification plugin 0.4 and earlier for WordPress allows
Open redirect vulnerability in Kaseya Virtual System Administrator (VSA) 7.x before 7.0.0.29, 8.x before 8.0.0.18, 9.0 b
Vulnerability in the Oracle Applications Framework component of Oracle E-Business Suite (subcomponent: Popup windows (li
Unspecified vulnerability in the Oracle Application Server Single Sign-On component in Oracle Fusion Middleware 10.1.4.3
Flarum is open source discussion platform software. Rated medium severity (CVSS 6.5), this vulnerability is remotely exp
Open redirect vulnerability in Novius OS 5.0.1 (Elche) allows remote attackers to redirect users to arbitrary web sites
EUVD-2026-70655
GHSA-43fc-v873-qw85
NVD
CVE.org
EPSS
Exploit-DB