src/routes/auth.js:9Oct 17, 1:19 PM
The route redirected to a URL taken straight from the request, so an attacker could send users to any site.
scar-001 · scar
The route redirected to a URL taken straight from the request, so an attacker could send users to any site.
1res.redirect(req.query.next)1Only redirect to relative paths that start with a single slash, otherwise fall back to '/'.res\.redirect\(\s*req\.(query|body|params)The route redirected to a URL taken straight from the request, so an attacker could send users to any site.
The agent rebuilt the login redirect from req.query again.