Session Fixation

Medium Severity Technical Guide

Vulnerability Description

Session fixation occurs when an application keeps the same session ID before and after login, allowing an attacker to fix a session token and hijack the victim's logged-in session.

Remediation Guide

To resolve this vulnerability, follow these config changes or developer practices:

Always regenerate the session identifier (e.g., call session.regenerate() in your framework) immediately after a user successfully authenticates.

Verify Your Fix

After applying the remediation, run an external attack-surface scan to verify that the vulnerability is no longer detected by WebScanify.

Is your website vulnerable?

Run a free security scan now to identify missing headers, outdated JS, and other deployment vulnerabilities.