Bypassing CSRF Token Randomization Using an XSS Flaw

Anti-CSRF tokens stop a classic cross-site request forgery attack, but they assume the attacker can’t read the page. An XSS vulnerability breaks that assumption. Here I chain a stored XSS flaw on the SEED Labs Elgg platform to exfiltrate a victim’s session cookie and CSRF tokens, then replay any authenticated action as them.

November 12, 2026 · 5 min · 969 words · Akshit Kathuria

Stealing an Admin Session with XSS and an Out-of-Band Listener

A feedback form that reflects your input and an admin who visits the links you submit is everything you need to steal the admin’s session cookie. Here I chain an XSS payload with an out-of-band listener so the victim’s browser sends their cookie to me, and explain the admin-bot pattern and the defences that break it.

November 12, 2026 · 4 min · 815 words · Akshit Kathuria