Skip to content
XSS Write-up Beginner

Exploring Reflected XSS Vulnerabilities in Educational Platforms

A search field on a university website reflected user input without encoding, so a crafted link could run script in a visitor's browser. An attacker could use that to hijack a session or run a phishing page, though the author rates the impact as small.

medium.com

Published on medium.com

Hi back again in my another write up, I want to keep pushing my commitment to improve my skill in world of penetration so that’s why I explore & try find out vulnerability and report to their CSIRT team.hahahaha

Yaliyanto, 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 search parameter was echoed into the HTML response without output encoding or sanitisation.

Impact

The author says the impact was not really big, but a bad actor could use it for session hijacking or phishing and credential harvesting.

What the attacker needed

Victim clicks a crafted link; search field reflects input

The fix

The site was fixed after the report, and the author confirmed the payload no longer executes.

How it was found

  1. Find subdomains of the university domain with a subdomain enumeration tool.
  2. Scan the chosen site to learn its flow and behaviour.
  3. Locate the lecturer-name search field in the interface.
  4. Enter a script payload into that field and observe it execute.

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.

A reflected cross-site scripting (XSS) bug means the website takes what you type into a box, such as a search field, and puts it straight back into the page without cleaning it. If what you type includes code, the browser runs that code as if the site itself had written it. An attacker can then send a prepared link to someone so the code runs in that person's browser.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

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.