Skip to content
XSS Write-up Beginner

RXSS Vulnerability in Less Than 10 Minutes on India’s Premier Travel Site

A reflected cross-site scripting flaw existed in an input field on a travel site's subdomain, allowing an attacker to run script in a victim's browser. The author found it by chance and confirmed it with a pop-up.

nilkhant30 Follow

Published on medium.com

Hi i hope you gave a great day, In the realm of cybersecurity, the hunt for vulnerabilities is a perpetual endeavor. Sometimes, discoveries unfold unexpectedly, as was the case when I stumbled upon a cross-site scripting (RXSS) vulnerability in less than 10 minutes on one of India’s largest travel sites.

I AM Raja, 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 site echoed user input into a page without proper encoding or validation.

Impact

An attacker could run script in a victim's browser, which may lead to data theft or actions on the victim's behalf, though the text gives no specific consequences.

What the attacker needed

Victim visits a crafted link or page; attacker identifies a vulnerable input field

How it was found

  1. Click an advertisement that redirects to a subdomain of the travel site.
  2. Explore the subdomain's input fields and interactions.
  3. Submit a crafted payload into a vulnerable input field.
  4. Observe a pop-up confirming script execution.

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 puts user-supplied text into a page without cleaning it, so an attacker can make the site run their own small program (script) in a visitor's browser. Here the script was 'reflected', meaning it came straight back from a link or form input. That could let an attacker steal session data or act as the victim.

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 nilkhant30

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.