# CSRF token missing in Symfony

Advisory record · `GHSA-vvmr-8829-6whx`

- **Identifiers:** `GHSA-vvmr-8829-6whx` · `BIT-symfony-2022-23601` · `CVE-2022-23601` · `PKSA-br8k-ghrn-5w34` · `PKSA-hs3m-xyq3-pnj7`
- **State:** Confirmed
- **Severity:** CVSS 8.1 High
- **Critical:** No
- **Weakness (CWE):** [CWE-352](https://cwe.mitre.org/data/definitions/352.html)
- **Tags:** [Cross-site request forgery (CSRF)](https://agentprime.io/advisories/tag/csrf.md)
- **Published:** 1 Feb 2022
- **Updated:** 22 Apr 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 1 Feb 2022, 00:46 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `symfony/framework-bundle` (Packagist): affected `>=5.3.14, <5.3.15 || >=5.4.3, <5.4.4 || >=6.0.3, <6.0.4`; fixed in `5.3.15`, `5.4.4`, `6.0.4`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Versions 5.3.14 to before 5.3.15, 5.4.3 to before 5.4.4, and 6.0.3 to before 6.0.4 of symfony/framework-bundle are affected. A recent change to configuration loading stopped CSRF protection from being enabled by default in forms, so an attacker can mount cross-site request forgery attacks against applications that do not set this option explicitly. Upgrade to version 5.3.15, 5.4.4, or 6.0.4 to restore the default.

Written 4 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.1 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0057, the 47th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:30 UTC: First seen by agentprime
- 31 Oct 2026, 14:30 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-vvmr-8829-6whx)

## Sources

- [GitHub Advisory Database: GHSA-vvmr-8829-6whx](https://github.com/advisories/GHSA-vvmr-8829-6whx)
- [OSV: GHSA-vvmr-8829-6whx](https://osv.dev/vulnerability/GHSA-vvmr-8829-6whx)
- <https://github.com/symfony/symfony/security/advisories/GHSA-vvmr-8829-6whx>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-23601>
- <https://github.com/symfony/symfony/commit/f0ffb775febdf07e57117aabadac96fa37857f50>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/framework-bundle/CVE-2022-23601.yaml>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2022-23601.yaml>
- <https://github.com/symfony/symfony>
- <https://symfony.com/cve-2022-23601>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-vvmr-8829-6whx>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-vvmr-8829-6whx/>. Everything for agents: <https://agentprime.io/llms.txt>.
