BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2022-24895 in Sensiolabs Symfony

High 8.8

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 attacker...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
EPSS0.9%
EPSS percentile58th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Sensiolabs Symfony ≥ 2.0.0, < 4.4.50 ≥ 5.0.0, < 5.4.20 ≥ 6.0.0, < 6.0.20 ≥ 6.1.0, < 6.1.12 ≥ 6.2.0, < 6.2.6

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-24895
BreachSpider IDBS-2023-GLOBAL-314430-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published2023-02-03
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-384: CWE-384

CWE-613: CWE-613

Related attack patterns (CAPEC)

CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-384

CAPEC-59 Session Credential Falsification through Prediction via CWE-384

CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-384

CAPEC-61 Session Fixation via CWE-384

CAPEC-39 Manipulating Opaque Client-based Data Tokens via CWE-384

Show all 7

CAPEC-196 Session Credential Falsification through Forging via CWE-384

CAPEC-21 Exploitation of Trusted Identifiers via CWE-384

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2022-24895 affects Symfony, a PHP framework, by allowing same-site attackers to bypass CSRF protection due to the preservation of CSRF tokens during session regeneration upon user login.

An attacker can exploit this vulnerability by performing a session fixation attack or similar, leveraging the preserved CSRF tokens to perform unauthorized actions on behalf of the user.

Questions

What is CVE-2022-24895?

CVE-2022-24895 affects Symfony, a PHP framework, by allowing same-site attackers to bypass CSRF protection due to the preservation of CSRF tokens during session regeneration upon user login.

What is the CVSS score for CVE-2022-24895?

CVE-2022-24895 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 0.9%.

Is CVE-2022-24895 actively exploited?

No confirmed active exploitation of CVE-2022-24895 as of 2026-09-25.

How do I remediate CVE-2022-24895?

Priority: HIGH.

What systems are affected by CVE-2022-24895?

CVE-2022-24895 affects Sensiolabs Symfony.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Sensiolabs","product":"Symfony","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.