CVE-2022-24895

Symfony vulnerable to Session Fixation of CSRF tokens

HIGH
8.8
CVSS Score
Published: February 3, 2023 at 09:45 PM UTC
Updated: June 17, 2026 at 04:32 AM UTC
2 products affected across 2 vendorsSymfonySymfony

Using symfony by symfony?

Get instant alerts when new vulnerabilities affect symfony - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 0.8%
SSVC
No known exploit

Description

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. When authenticating users Symfony by default regenerates the session ID upon login, but preserves the rest of session attributes. Because this does not clear CSRF tokens upon login, this might enables same-site attackers to bypass the CSRF protection mechanism by performing an attack similar to a session-fixation. This issue has been fixed in the 4.4 branch.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.0.0 ≤ v < 4.4.505.0.0 ≤ v < 5.4.206.0.0 ≤ v < 6.0.206.1.0 ≤ v < 6.1.126.2.0 ≤ v < 6.2.6
Affected range stops below 4.4.50, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.4.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.0.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.1.12, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.2.6, so it looks safe — our inference, not a vendor statement
v < 4.4.50v < 5.4.20v < 6.0.20v < 6.1.12v < 6.2.6
Affected range stops below 4.4.50, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.4.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.0.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.1.12, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.2.6, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-384CWE-613

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card