Skip to main content
← All vulnerabilities
CVE-2026-107718GHSA-2M6Q-8V3H-JQWW

AdonisJS: Unencoded route parameters can produce open redirects

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.2.3, 9.3.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

AdonisJS HTTP Server is a package for handling HTTP requests in the AdonisJS framework. Prior to 8.2.3 and 9.3.0, AdonisJS HTTP Server inserts route parameter values into URLs without encodeURIComponent in the shared createURL() helper used by Router.makeUrl() and Response.redirect().toRoute(). If an application places attacker-controlled data in a dynamic first path segment and uses the generated route URL as a redirect destination, a value beginning with a slash can produce a scheme-relative external URL. Wildcard parameters are affected by the same missing encoding, while APIs intentionally accepting complete redirect URLs are not affected. An attacker can redirect users from a trusted application to an attacker-controlled site, facilitating phishing or abuse of authentication and OAuth flows. This issue is fixed in versions 8.2.3 and 9.3.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • adonisjs http-server

    fixed in 8.2.3; From 9.0.0 · fixed in 9.3.0

  • @adonisjs/http-servernpm

    From 9.0.0 · fixed in 9.3.0

  • @adonisjs/http-servernpm

    fixed in 8.2.3

References 5

GitHub · adonisjs/http-server