Skip to content
XSS Write-up Beginner

[POC] Cross-Site Scripting on Garuda Indonesia Website

A stored cross-site scripting flaw existed in the 'update companion' form on the Garuda Indonesia website, where a registered user could inject a script into a personal information field. The text claims the injected script executed, but does not describe what an attacker could achieve beyond that.

Arif-ITSEC111 Follow

Published on medium.com

Hello, This is my 3rd post about bug bounty. First of all, i want to say thank you to Garuda Indonesia and I’m sorry for my bad english.

Arif-ITSEC111, 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

Root cause

Likely the companion form stored user input and rendered it back without proper output encoding or sanitisation.

What the attacker needed

A registered account; email activation; victim views the companion details

The fix

The report's timeline states the bug was mitigated, though it does not describe the fix.

How it was found

  1. Register a new member account on the website
  2. Fill in personal information and activate the account by email
  3. Complete the remaining personal information
  4. Inject an XSS script into the update companion form

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.

Cross-site scripting (XSS) is when a website takes something a user typed and later shows it to other people as part of the page without making it safe, so the browser runs it as code. Here a logged-in user could put a small script into a form field, and the site stored it and ran it. That lets an attacker run their own code in other users' browsers.

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 Arif-ITSEC111

View all

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