Skip to content
XSS Write-up Beginner

How I Found Stored HTML Injection in the Invite User Feature and

The project name field allowed HTML to be stored and rendered unsanitised in invitation emails. An attacker could inject arbitrary HTML tags, leading to unwanted content or phishing in emails sent to invited users.

Tanishx0h Follow

Published on cybersecuritywriteups.com

About a week ago, I decided to revisit an old target I had hunted before. I started by exploring every functionality thoroughly to spot any overlooked vulnerabilities.

Tanishx0h, on cybersecuritywriteups.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

Root cause

Likely the application stored user-supplied project names without sanitising or encoding them before rendering in invitation emails.

Impact

An attacker could display unwanted or malicious content and conduct phishing through crafted invitation emails; the text notes further exploitation with JavaScript injection if escalated to full XSS.

What the attacker needed

Ability to set a project name; ability to send an invite

How it was found

  1. Enter an HTML image tag into the project Name field.
  2. Save the project with the injected payload.
  3. Go to the Invite User section and enter an email address to send an invite.
  4. Open the received invite email and observe that the image loads, showing HTML was rendered.

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 a website takes text you type and later shows it on a page or in an email, it must treat that text as plain text, not as instructions for the browser. Here, the site saved HTML code in a project name and then put it directly into an email, so the email displayed the HTML instead of just the text. This lets someone put misleading content into emails that appear to come from the service.

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 Tanishx0h

View all

3 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.