Skip to content
XSS Write-up Beginner

HTML Injection in Mobile App Support Ticket Form on target.tech

The support ticket form in a mobile app did not sanitise user input before including it in support ticket emails, allowing HTML injection. An attacker could inject malicious HTML into emails sent to customers, potentially enabling phishing or other attacks.

shobitsharma Follow

Published on medium.com

The original lives on medium.com

We do not hold its text, 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 failed to sanitise or encode user-supplied input before embedding it in HTML emails.

Impact

An attacker could inject HTML into support emails, potentially leading to phishing, malware distribution, or reputation damage, though the report does not demonstrate script execution.

What the attacker needed

Access to the mobile app; ability to submit a support ticket

The fix

The issue was addressed and remediation measures were implemented, though the specific fix is not described.

How it was found

  1. Open the mobile app and go to the support section.
  2. Access the account management area.
  3. Start a new support ticket by selecting the option to raise an issue.
  4. Fill in the required Subject and Description fields with HTML injection payloads.
  5. Optionally attach a file.
  6. Submit the ticket and check the support email to see the injected HTML reflected.

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 type something into a form, the website should treat it as plain text, not as code. Here, the app put the text directly into an email without cleaning it, so someone could add HTML (the language used to build web pages) that changes how the email looks or adds links. This could trick people who receive the email.

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 shobitsharma

View all

1 more disclosed report, 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.