CVE-2022-23601: sensiolabs symfony Cross-Site Request Forgery (CSRF)
Vulnerability summary
CVE-2022-23601 is a high (CVSS 8.8) Cross-Site Request Forgery (CSRF) vulnerability in sensiolabs symfony. EPSS estimates a 0.57% chance of exploitation in the next 30 days, higher than 45.9% of scored vulnerabilities.
Timeline
- 01-02-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. The Symfony form component provides a CSRF protection mechanism by using a random token injected in the form and using the session to store and control the token submitted by the user. When using the FrameworkBundle, this protection can be enabled or disabled with the configuration. If the configuration is not specified, by default, the mechanism is enabled as long as the session is enabled. In a recent change in the way the configuration is loaded, the default behavior has been dropped and, as a result, the CSRF protection is not enabled in form when not explicitly enabled, which makes the application sensible to CSRF attacks. This issue has been resolved in the patch versions listed and users are advised to update. There are no known workarounds for this issue.
CVSS metrics
3 scores · 2 sources · 2 versions- CVE.orgCNA8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NDiffers
EPSS trend
Probability
0.57%
Chance of exploitation in the next 30 days
Percentile
46%
Versus all other CVEs
30-day change
0.00 pp
From 0.57% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Sensiolabs1 product
- symfony< 5.3.15 | ≥ 5.4.0, < 5.4.4 | ≥ 6.0.0, < 6.0.4
Symfony1 product
- symfony5.3.14 | 5.4.3 | 6.0.3
2 vendors · 2 products
References
2 links- github.com/symfony/symfony/security/advisories/GHSA-vvmr-8829-6whxX Refsource CONFIRMPatchThird Party Advisory
- github.com/symfony/symfony/commit/f0ffb775febdf07e57117aabadac96fa37857f50X Refsource MISCPatchThird Party Advisory