Skip to content
XSS Write-up Beginner

Found HTML Injection in Emails! Earned HOF

The full name field during signup was vulnerable to HTML injection, allowing an attacker to insert HTML that was rendered in emails sent to the victim. An attacker could send a crafted link or image to the victim's email, potentially for phishing or tracking.

dsmodi484 Follow

Published on medium.com

Hello Hackers, In the quick writeup I am going to disclose my recent finding of HTMLI in email in Quickreelthrough comolhobug bounty platform.

cryptoshant🇮🇳, on medium.com

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

Impact

An attacker could inject HTML into emails, potentially enabling phishing or tracking, though the report does not demonstrate script execution.

What the attacker needed

Ability to sign up; victim receives email

The fix

The application should sanitise user input and encode output in email templates, and could use a Content Security Policy.

How it was found

  1. Visit the login page and click Register.
  2. Enter an HTML payload in the name field.
  3. Provide an email address and password, then submit.
  4. The victim receives an email containing the injected HTML.

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 put into a welcome email. The site did not clean the name, so someone could type HTML code (the language of web pages) instead of a plain name. That code then appeared in the email, letting the attacker show a clickable link or image.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by dsmodi484

View all

8 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.