# CVE-2022-23601: CSRF token missing in Symfony

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-02)
- Published: 2022-02-01T00:46:57.000Z
- Modified: 2026-06-17T04:30:27.297Z
- Also known as: GHSA-vvmr-8829-6whx, BIT-SYMFONY-2022-23601
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- symfony symfony: 5.3.14; 5.4.3; 6.0.3
- symfony/framework-bundle (Packagist): from 5.3.14 before 5.3.15; from 5.4.3 before 5.4.4; from 6.0.3 before 6.0.4
- sensiolabs symfony: before 5.3.15; from 5.4.0 before 5.4.4; from 6.0.0 before 6.0.4
- symfony (Bitnami): before 5.3.15; from 5.4.0 before 5.4.4; from 6.0.0 before 6.0.4

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/symfony/symfony/security/advisories/GHSA-vvmr-8829-6whx> (patch, third-party-advisory, web)
- <https://github.com/symfony/symfony/commit/f0ffb775febdf07e57117aabadac96fa37857f50> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-23601> (advisory)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/framework-bundle/CVE-2022-23601.yaml> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2022-23601.yaml> (web)
- <https://github.com/symfony/symfony> (web)
- <https://symfony.com/cve-2022-23601> (web)

## Sources

- CVE List: [CVE-2022-23601](https://www.cve.org/CVERecord?id=CVE-2022-23601), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-vvmr-8829-6whx](https://github.com/advisories/GHSA-vvmr-8829-6whx), CC-BY-4.0, modified 2024-04-22
- NVD: [CVE-2022-23601](https://nvd.nist.gov/vuln/detail/CVE-2022-23601), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-SYMFONY-2022-23601](https://osv.dev/vulnerability/BIT-SYMFONY-2022-23601), Apache-2.0, modified 2024-03-06

---

Page: https://cve.day/CVE-2022-23601 · Whole record: https://cve.day/CVE-2022-23601.json · Rebuilt by cve.day 2026-11-25T22:58:09.457Z
