taxonomy / tag

#xss

05.07.2026

Exploiting cross-site scripting to capture passwords

Unsanitized comment HTML can add username and password inputs that the simulated victim's password manager autofills. JavaScript then sends those credentials to Collaborator before the attacker signs in and deletes Carlos.

04.07.2026

Exploiting cross-site scripting to steal cookies

A stored comment executes JavaScript for later viewers and can read document.cookie because the session token lacks HttpOnly. Exfiltrating the administrator cookie to Collaborator enables session hijacking and deletion of Carlos.

04.07.2026

Exploiting XSS to bypass CSRF defenses

Stored script runs in the application's origin, fetches /my-account, and extracts the current CSRF token. It can then submit that token with a forged email change, bypassing a defense that remains inaccessible only to cross-origin pages.

04.07.2026

Reflected DOM XSS

The search API reflects input into JSON that client code passes to eval(responseText). Escaping the JSON string and preserving valid syntax converts the reflected value into JavaScript execution in the browser.

04.07.2026

Reflected XSS in canonical link tag

The raw query string enters the href attribute of a canonical link in the document head. An injected accesskey and onclick handler exploit that attribute context even though angle brackets cannot create another element.