How I Found a Clickable Link Injection Issue in a Verification Email (Beginner Friendly)
A user's first name was reflected in a verification email and automatically turned into a clickable link by the email client. An attacker could use this to send phishing links inside a trusted system email.
Hi, I’m Mohammed Sahal, a cybersecurity enthusiast and beginner bug hunter who enjoys learning by testing real-world applications.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application did not sanitise or encode user input before inserting it into the email body, and the email client auto-linked the text.
Impact
Users may click the attacker-controlled link inside a trusted verification email, potentially leading to phishing or redirection to malicious sites.
What the attacker needed
Ability to register with a crafted first name; victim receives and opens the verification email
The fix
The issue was fixed after being reported to the security team.
How it was found
- Open the registration page and locate the First Name field.
- Enter a value that looks like a website address (e.g., a domain name) in the First Name field.
- Complete registration and receive the verification email.
- Open the email and observe that the entered text appears as a clickable hyperlink.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
When you sign up, the name you type is shown in the verification email. Some email programs automatically turn anything that looks like a web address into a clickable link. So if you type a website address as your name, the email will contain a clickable link to that site, which could be used to trick people.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.