Read the docs
TI-2022-07654 Aliases CVE-2022-23601GHSA-vvmr-8829-6whx

CSRF token missing in Symfony

Priority MEDIUM 41CWE-352Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Tampering
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-352.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00566 47th percentileScored 2026-11-07
Fix Fixed symfony/framework-bundle (Packagist): 5.3.15, 5.4.4, 6.0.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
symfonysymfony5.3.14; 5.4.3; 6.0.3—No fix listedCNA
—symfony/framework-bundle (Packagist)5.3.14 to before 5.3.155.3.15Patch availableGHSA-vvmr-8829-6whx
—symfony/framework-bundle (Packagist)5.4.3 to before 5.4.45.4.4Patch availableGHSA-vvmr-8829-6whx
—symfony/framework-bundle (Packagist)6.0.3 to before 6.0.46.0.4Patch availableGHSA-vvmr-8829-6whx
  • symfony Vendorsymfony Affected 5.3.14; 5.4.3; 6.0.3 Fixed in — No fix listed CNA
  • symfony/framework-bundle (Packagist) Vendor— Affected 5.3.14 to before 5.3.15 Fixed in 5.3.15 Patch available GHSA-vvmr-8829-6whx
  • symfony/framework-bundle (Packagist) Vendor— Affected 5.4.3 to before 5.4.4 Fixed in 5.4.4 Patch available GHSA-vvmr-8829-6whx
  • symfony/framework-bundle (Packagist) Vendor— Affected 6.0.3 to before 6.0.4 Fixed in 6.0.4 Patch available GHSA-vvmr-8829-6whx

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*before 5.3.15; 5.4.0 to before 5.4.4; 6.0.0 to before 6.0.4Vulnerablesensiolabs
  • cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* Versions before 5.3.15; 5.4.0 to before 5.4.4; 6.0.0 to before 6.0.4 Vulnerable ·sensiolabs

Remediation

  • Fix · GHSA-vvmr-8829-6whx symfony/framework-bundle (Packagist) Fixed in 5.3.15 Advisory →
  • Fix · GHSA-vvmr-8829-6whx symfony/framework-bundle (Packagist) Fixed in 5.4.4 Advisory →
  • Fix · GHSA-vvmr-8829-6whx symfony/framework-bundle (Packagist) Fixed in 6.0.4 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-23601
  2. 2026-10-03 Alias added: GHSA-vvmr-8829-6whx

References

  • TI-2024-33775 Ability to change environment from query in symfony/runtime CVSS 3.1HIGH 7.3
  • TI-2026-34283 Twig: The `spaceless` filter implicitly marks its output as safe CVSS 4.0MEDIUM 5.1
  • TI-2022-07667 Code injection in Twig CVSS 3.1CRITICAL 9.8
  • TI-2018-10028 Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key… CVSS 3.0CRITICAL 9.8
  • TI-2026-35851 Incorrect authorization in symfony CVSS 4.0HIGH 8.7
  • TI-2026-35264 Improper input validation in symfony CVSS 4.0HIGH 8.3
See all 94 →

Sources