Security mailing lists by PureSourceCode

CVE-2022-23601

HIGH 8.8CVSS 3.1

CSRF token missing in Symfony

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.

Published
1 Feb 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-352
Also known as
BIT-symfony-2022-23601GHSA-vvmr-8829-6whx
Sources
NVDJSONOSV GHSA-vvmr-8829-6whxJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD sensiolabs symfony
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
< 5.3.15 5.3.15
NVD sensiolabs symfony
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
>= 5.4.0, < 5.4.4 5.4.4
NVD sensiolabs symfony
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
>= 6.0.0, < 6.0.4 6.0.4
OSV Packagist symfony/framework-bundle >= 5.3.14, < 5.3.15 5.3.15
OSV Packagist symfony/framework-bundle >= 5.4.3, < 5.4.4 5.4.4
OSV Packagist symfony/framework-bundle >= 6.0.3, < 6.0.4 6.0.4

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 1 Feb 2022)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 1 Feb 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.