Skip to content
XSS Write-up Intermediate

I Received an Official Bug Bounty Certificate from a Major Payment Platform — Here Is What It Took

A DOM-based cross-site scripting vulnerability existed on an OAuth login page because a URL parameter was used to load a JavaScript file without validation. An attacker could craft a link that executed their script on the authentication domain, potentially intercepting credentials and OAuth tokens.

krithickcyber Follow

Published on medium.com

On May 1st, 2026, I received a Certificate of Appreciation from the security team of one of India’s largest payment platforms — certificate number BBCERT #11000000206, signed and dated, recognizing my efforts in responsible security vulnerability disclosure.

Krithick, 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

Because the script ran on the authentication domain that handles phone numbers, OTPs, and OAuth tokens, the potential impact included credential interception, OAuth flow manipulation, and full account compromise.

What the attacker needed

Victim clicks a crafted link; no authentication needed

How it was found

  1. Craft a URL with a malicious baseUrl parameter pointing to an attacker-controlled server.
  2. Send the crafted URL to a victim.
  3. The victim opens the link, and the login page loads and executes the external script in the context of the authentication domain.

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.

The login page took a value from the web address and used it to fetch a script from wherever that value pointed. Because it did not check where the script came from, an attacker could make the page load their own script. That script would run as if it were part of the login page, so it could steal information like passwords or login tokens.

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 krithickcyber

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.