Open Redirect in Feathersjs Feathers
CVE-2026-27191
Feathersjs is a framework for creating web APIs and real-time applications with TypeScript or JavaScript. Versions 5.0.39 and below the redirect query parameter is appended to the base origin without validation, allowing attackers to steal access tokens via URL authority injection. This leads to full account takeover, as the attacker obtains the victim's access token and can impersonate them. The application constructs the final redirect URL by concatenating the base origin with the user-supplied redirect parameter. This is exploitable when the origins array is configured and origin values do not end with /. An attacker can supply @attacker.com as the redirect value results in https://target.com@attacker.com#access_token=..., where the browser interprets attacker.com as the host, leading to full account takeover. This issue has been fixed in version 5.0.40.
Vulnerability class: Open Redirect
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.003, 22.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Feathersjs Feathers — versions < 5.0.40
Weakness classification (CWE)
References
- https://github.com/feathersjs/feathers/security/advisories/GHSA-ppf9-4ffw-hh4p (Third Party Advisory)
- https://github.com/feathersjs/feathers/commit/ee19a0ae9bc2ebf23b1fe598a1f7361981b65401 (Patch)
- https://github.com/feathersjs/feathers/releases/tag/v5.0.40 (Product, Release Notes)