Skip to content
XSS Write-up Beginner

XSS Night: A Journey Through 26 Unfiltered Vulnerabilities

The author claims to have found 26 reflected cross-site scripting vulnerabilities across various websites, where unfiltered user input in search parameters allowed execution of JavaScript. An attacker could steal session cookies, redirect users to malicious sites, or perform phishing.

medium.com

Published on medium.com

As the digital moon rose, I set out to document what happens when web applications trust user input. What I found were 26 gaping holes where a simple string of characters could turn into executable JavaScript.

N0aziXss, 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 application failed to sanitise or encode user-supplied input before reflecting it into HTML responses, and lacked a Content Security Policy.

Impact

An attacker could steal session cookies, redirect users to malicious domains, or conduct phishing, though the text does not confirm real-world exploitation beyond proof-of-concept prompts.

What the attacker needed

Victim clicks a crafted link; vulnerable parameter reflects input

The fix

The text recommends sanitising all user-controlled inputs, implementing strict CSP headers, and escaping output contextually, but does not state that any of the vulnerabilities were fixed.

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 a flaw where a website takes text you type (like a search term) and puts it directly into the page without cleaning it. If that text includes code, the browser runs it as if the site itself wrote it. This lets an attacker run their own code in a victim's browser, potentially stealing login cookies or redirecting them to a fake page.

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.