Authentication Token Theft via Open Redirect in Callback URL Parameter
The email signup flow accepted an unvalidated callback URL parameter, so an attacker could point it at their own domain. When a victim clicked the verification link, they were redirected to that domain with their authentication tokens.
Originally disclosed on HackerOne
- Triaged in 16 hours
- Fixed in 2 days
- Disclosed after 3 days
Summary by the program
An open redirect vulnerability has been identified in the email signup flow of taplio.com that enables authentication token theft through manipulation of the callback URL parameter.
The vulnerability occurs when an attacker modifies the callbackUrl parameter during the email signup process to point to an attacker-controlled domain. When a victim completes the email verification process by clicking the verification link, they are redirected to the malicious domain along with their authentication tokens. This redirection happens automatically as part of the normal signup flow, making it particularly dangerous since users expect to be redirected after email verification. The vulnerability leverages the trust users place in legitimate verification emails and exploits insufficient validation of the callback URL parameter. The attack requires minimal user interaction beyond the standard email verification process that users routinely perform. The vulnerability affects the authentication mechanism and credential handling within the application's signup workflow.
Context
The target is taplio.com, a product in the lemlist program on HackerOne. The feature involved is the email signup flow. During signup the application takes a callbackUrl parameter, and after the user verifies their email address the browser is sent to that callback URL. In the normal flow this is a convenience: the user signs up, clicks the verification link in the email, and lands back where the application wants them to continue.
The report describes a critical severity issue, CVSS 9.6, classified as Insufficiently Protected Credentials. The researcher is sle3pyhead, and the report was disclosed on 14 November 2025.
Setup
The report does not describe accounts, roles, tooling or versions. The precondition that matters is simply that a victim signs up by email and completes the verification step, and that the attacker can influence the callbackUrl value used in that signup flow.
Finding it
The researcher noticed that the callbackUrl parameter in the email signup flow was not validated sufficiently. Because that parameter decides where the user is sent after email verification, and because the verification step is where authentication tokens are issued, an unvalidated value there means the destination of a token-bearing redirect is under attacker control.
Exploitation
Step 1: Modify the callback URL
The attacker changes the callbackUrl parameter during the email signup process so that it points to a domain the attacker controls. The report does not include the literal request or the exact parameter format beyond the parameter name.
Step 2: Victim verifies the email
The victim receives the legitimate verification email and clicks the verification link. This is the standard step every user performs, and the report stresses that the attack requires minimal user interaction beyond it.
Step 3: Tokens are redirected to the attacker
When verification completes, the application redirects the victim to the attacker-controlled domain, and the authentication tokens are carried along with that redirect. The redirection happens automatically as part of the normal signup flow, so nothing about it looks unusual to the victim, who expects to be redirected after verifying.
Root cause
The design flaw is that the post-verification redirect target is taken from a user-supplied parameter and is not validated sufficiently. The redirect is the same response that delivers the authentication tokens, so an open redirect in this position is not a cosmetic issue: it becomes a token exfiltration channel. The report frames the weakness as insufficient validation of that parameter.
Impact
An attacker who can set the callbackUrl can obtain the authentication tokens of a victim who completes the email signup and verification flow. The attack is dangerous precisely because it rides on a step users trust: a genuine verification email and an expected redirect. The report notes that it affects the authentication mechanism and credential handling in the signup workflow. It requires the victim to go through the standard email verification process; beyond that, interaction is minimal.
Fix
The report does not state what was changed.
Variants to test
- Other signup and login flows with a post-verification or post-authentication redirect parameter: try values pointing at an external domain and see whether the redirect is followed with credentials attached.
- Password reset and magic-link flows: check whether a callback or return parameter survives into the redirect that follows the token-bearing link.
- OAuth and SSO callbacks: look for redirect parameters that are only checked by prefix or substring, and test whether a crafted value still resolves to an attacker domain.
- Invitation and team-join flows: these often carry session material and a return URL, and are worth the same manipulation.
A positive result is a redirect to the attacker-controlled domain that carries authentication tokens, exactly as described here.
Hunting notes
This class of bug hides in flows where a redirect destination is user-controlled and the redirect itself carries credentials: email verification, password reset, magic links, OAuth callbacks and invitations. During recon, map every parameter that looks like a return or callback URL and note which endpoints set cookies or tokens in the same response. The signal is a redirect whose target comes straight from the request. To show impact, demonstrate that the tokens actually travel with the redirect to an external domain, which is what turns an open redirect into credential theft and justifies the critical rating.
What happened, in plain words
Taplio is a product in the lemlist family, and it is listed on the bug bounty platform HackerOne. A security researcher called sle3pyhead found a serious flaw in the way taplio handles email signup. The report was rated critical, with a CVSS score of 9.6, and it was disclosed on 14 November 2025. The weakness is classified as Insufficiently Protected Credentials.
Here is the idea in everyday terms. Imagine you join a club and the person at the desk asks "where should I send you once your membership is approved?" You write down an address. When your membership card is ready, the club posts it to whatever address you wrote, without checking whether that address is really yours. If someone else fills in that form on your behalf and writes their own address, your membership card ends up in their hands.
That is roughly what happens here. During email signup, taplio accepts a value called callbackUrl, which tells the site where to send the browser after the user confirms their email address. The site does not validate this destination sufficiently. Because the confirmation step is also the moment when the user's authentication tokens are handed out, an attacker who controls that destination receives the tokens too.
Before going further, a few terms from zero:
- Authentication token: a short piece of data that a website gives your browser after you log in or confirm your account. On every later request the browser shows it back, and the site treats it as proof that you are you. Think of it as a cloakroom ticket: whoever holds the ticket can collect the coat. If someone else gets your token, they can act as you without knowing your password.
- Open redirect: a situation where a website lets a visitor choose where the site will send them next, and accepts any destination, including one belonging to someone else. It is like a receptionist who will forward your call to any number you name, no questions asked.
- Parameter: a named value attached to a web address or a form, such as
callbackUrl. It is a labelled field, like the "return address" line on an envelope. - Signup flow: the sequence of pages and steps a new user goes through to create an account, from filling in the form to clicking the link in the confirmation email.
Context
The target is taplio.com. The feature involved is the email signup flow. During signup the application takes a callbackUrl parameter, and after the user verifies their email address the browser is sent to that callback URL.
In the normal flow this is a convenience. The user signs up, clicks the verification link in the email, and lands back where the application wants them to continue. The site is trying to be helpful: instead of dumping the new user on a generic page, it returns them to the place they were heading.
The report describes a critical severity issue, CVSS 9.6, classified as Insufficiently Protected Credentials. The researcher is sle3pyhead, and the report was disclosed on 14 November 2025.
Setup
The report does not describe accounts, roles, tooling or versions. The precondition that matters is simply that a victim signs up by email and completes the verification step, and that the attacker can influence the callbackUrl value used in that signup flow.
In plain words: the attacker does not need special software or a privileged account. They need a way to make the signup form carry their chosen callbackUrl, and they need a victim who will do the ordinary thing of clicking the link in a genuine confirmation email.
Finding it
The researcher noticed that the callbackUrl parameter in the email signup flow was not validated sufficiently. Because that parameter decides where the user is sent after email verification, and because the verification step is where authentication tokens are issued, an unvalidated value there means the destination of a token-bearing redirect is under attacker control.
Two things combine to make this serious. First, the destination is chosen by whoever supplies the parameter. Second, the same redirect that carries the user to that destination also carries their tokens. Either one alone would be a minor annoyance; together they turn a convenience feature into a way to steal credentials.
Exploitation
Step 1: Modify the callback URL
The attacker changes the callbackUrl parameter during the email signup process so that it points to a domain the attacker controls. The report does not include the literal request or the exact parameter format beyond the parameter name.
Why this step: the whole attack rests on the site trusting a destination that the attacker chose. If the site had checked the value against a list of allowed destinations, the attack would stop here. Because it does not, the attacker's domain is now the place the site will send the victim after confirmation.
Step 2: Victim verifies the email
The victim receives the legitimate verification email and clicks the verification link. This is the standard step every user performs, and the report stresses that the attack requires minimal user interaction beyond it.
Why this matters: the email is real, sent by the real site, and the link inside it is real. The victim has no reason to be suspicious, because nothing about the message or the click is unusual. The attacker does not need to trick the victim into installing anything or typing a password; the victim simply finishes signing up.
Step 3: Tokens are redirected to the attacker
When verification completes, the application redirects the victim to the attacker-controlled domain, and the authentication tokens are carried along with that redirect. The redirection happens automatically as part of the normal signup flow, so nothing about it looks unusual to the victim, who expects to be redirected after verifying.
Why this is the payoff: the redirect is the moment the site hands out the tokens. Because the destination was set by the attacker, the tokens travel to the attacker's server. The attacker can then use them to act as the victim, without ever learning the victim's password.
Root cause
The design flaw is that the post-verification redirect target is taken from a user-supplied parameter and is not validated sufficiently. The redirect is the same response that delivers the authentication tokens, so an open redirect in this position is not a cosmetic issue: it becomes a token exfiltration channel. The report frames the weakness as insufficient validation of that parameter.
An allowlist is a list of things that are explicitly permitted, with everything else refused. A bouncer with a guest list lets in only the names written down. Here, the site should have had a list of trusted destinations and refused anything else; instead it accepted whatever it was given.
Impact
An attacker who can set the callbackUrl can obtain the authentication tokens of a victim who completes the email signup and verification flow. The attack is dangerous precisely because it rides on a step users trust: a genuine verification email and an expected redirect. The report notes that it affects the authentication mechanism and credential handling in the signup workflow. It requires the victim to go through the standard email verification process; beyond that, interaction is minimal.
In everyday terms: the attacker ends up holding the victim's cloakroom ticket.
Fix
The report does not state what was changed.
In plain words: either check the return address against a list of known-good places, or stop asking the user for a return address at all and always send them to a fixed, safe page.
Variants to test
- Other signup and login flows with a post-verification or post-authentication redirect parameter: try values pointing at an external domain and see whether the redirect is followed with credentials attached.
- Password reset and magic-link flows: check whether a callback or return parameter survives into the redirect that follows the token-bearing link.
- OAuth and SSO callbacks: look for redirect parameters that are only checked by prefix or substring, and test whether a crafted value still resolves to an attacker domain.
- Invitation and team-join flows: these often carry session material and a return URL, and are worth the same manipulation.
A positive result is a redirect to the attacker-controlled domain that carries authentication tokens, exactly as described here.
A magic link is a link sent by email that logs you in when you click it, with no password. OAuth and SSO are ways of signing in to one site using an account from another, and they rely on redirects between the two sites, which is why they are worth checking for the same flaw. A check "by prefix or substring" means the site only looks at part of the address, for example whether it starts with the trusted name, which a cleverly built address can satisfy while still pointing elsewhere.
Hunting notes
This class of bug hides in flows where a redirect destination is user-controlled and the redirect itself carries credentials: email verification, password reset, magic links, OAuth callbacks and invitations. During recon, map every parameter that looks like a return or callback URL and note which endpoints set cookies or tokens in the same response. The signal is a redirect whose target comes straight from the request. To show impact, demonstrate that the tokens actually travel with the redirect to an external domain, which is what turns an open redirect into credential theft and justifies the critical rating.
Recon means the early exploration phase, where you look around a site to understand its parts before testing anything. A cookie is a small piece of data a site stores in your browser, often used to remember that you are logged in, so it is closely related to tokens. The point of the notes is that you should look for places where the site both lets the visitor choose a destination and hands out credentials in the same response, because that combination is where this bug lives.
Glossary
- Authentication token: a piece of data issued by a site after login or verification that proves who you are on later requests; whoever holds it can act as that user.
- Open redirect: a flaw where a site sends the visitor to any destination the visitor names, including domains controlled by someone else.
- Parameter: a named value attached to a web address or form, such as
callbackUrl. - Callback URL: the address a site sends the browser to after a step such as email verification.
- Signup flow: the sequence of steps a new user goes through to create an account.
- Email verification: the step where the user clicks a link in an email to prove the address belongs to them.
- Allowlist: a list of explicitly permitted items, with everything else refused.
- Credential: any secret that proves identity, such as a password or a token.
- Insufficiently Protected Credentials: the weakness category for flaws that let credentials be exposed or misused.
- CVSS: a standard scoring system for the severity of a security flaw; 9.6 is in the critical range.
- Exfiltration: getting data out of a system to a place the attacker controls.
- Redirect: an instruction from a site telling the browser to go to a different address.
- Magic link: an emailed link that logs you in when clicked, without a password.
- OAuth / SSO: ways of signing in to one site using an account from another, relying on redirects between the sites.
- Cookie: a small piece of data stored in your browser by a site, often used to keep you logged in.
- Recon: the exploration phase of security testing, where you map out a site's features and inputs.
- Endpoint: a specific address on a server that performs a particular action.
- HackerOne: a bug bounty platform where researchers report flaws to companies.
- Bug bounty program: an arrangement where a company rewards researchers for reporting security flaws.