NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #282 most downloaded on Packagist
Symfony Security Component - CSRF Library
Latest stable
v8.1.0
Last release 3 months ago
03 Aug 2026
Release timing varies
gaps range from 9 days to 3 months
No release notes found
nothing matched a version
Nothing withdrawn
no release was ever pulled
13 years old
501 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Changelog ( v8.1.0...v8.2.0-BETA1 )
Changelog (v8.1.0...v8.2.0-BETA1)
Changelog ( v8.1.0-BETA3...v8.1.0 )
Changelog (v8.1.0-BETA3...v8.1.0)
SameOriginCsrfListener from SameOriginCsrfTokenManager to handle cookie persistence and clearingSameOriginCsrfTokenManager::onKernelResponse(), SameOriginCsrfTokenManager::clearCookies() and SameOriginCsrfTokenManager::persistStrategy()Your coding agent can read these notes before it upgrades. Set up the MCP server →
Changelog ( v8.1.0-BETA1...v8.1.0-BETA3 )
Changelog (v8.1.0-BETA1...v8.1.0-BETA3)
Changelog ( v8.0.3...v8.1.0-BETA1 )
Changelog (v8.0.3...v8.1.0-BETA1)
SameOriginCsrfTokenManager from event listening (@jprivet-dev)Changelog ( v8.0.7...v8.0.8 ) no significant changes
Changelog (v8.0.7...v8.0.8)
Changelog ( v8.0.5...v8.0.6 ) no significant changes
Changelog (v8.0.5...v8.0.6)
Changelog ( v8.0.3...v8.0.4 ) no significant changes
Changelog (v8.0.3...v8.0.4)
bug symfony/symfony#62826 [Security] Fix persisting valid origin for both safe and non-safe requests (@llegaz)
Changelog (https://github.com/symfony/security-csrf/compare/v8.0.2...v8.0.3)
Nothing published for this version
Nothing published for this version
feature symfony/symfony#62077 [Security] Add support for Sec-Fetch-Site to SameOriginCsrfTokenManager (@nicolas-grekas)
Changelog (https://github.com/symfony/security-csrf/compare/v7.3.4...v8.0.0-BETA1)
Sec-Fetch-Site to SameOriginCsrfTokenManager (@nicolas-grekas)Changelog ( v7.4.7...v7.4.8 ) no significant changes
Changelog (v7.4.7...v7.4.8)
Changelog ( v7.4.5...v7.4.6 ) no significant changes
Changelog (v7.4.5...v7.4.6)
Changelog ( v7.4.3...v7.4.4 ) no significant changes
Changelog (v7.4.3...v7.4.4)
bug symfony/symfony#62826 [Security] Fix persisting valid origin for both safe and non-safe requests (@llegaz)
Changelog (https://github.com/symfony/security-csrf/compare/v7.4.2...v7.4.3)
feature symfony/symfony#62469 [Security] Keep SymfonyCasts as backers of the Security components v7.4 🤗 (@nicolas-grekas)
Changelog (https://github.com/symfony/security-csrf/compare/v7.4.0-RC3...v7.4.0)
Sec-Fetch-Site to SameOriginCsrfTokenManagerChangelog (https://github.com/symfony/security-csrf/compare/v7.4.0-BETA2...v7.4.0-RC1) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v7.4.0-BETA2...v7.4.0-RC1)
feature symfony/symfony#62077 [Security] Add support for Sec-Fetch-Site to SameOriginCsrfTokenManager (@nicolas-grekas)
Changelog (https://github.com/symfony/security-csrf/compare/v7.3.4...v7.4.0-BETA1)
Sec-Fetch-Site to SameOriginCsrfTokenManager (@nicolas-grekas)Changelog (https://github.com/symfony/security-csrf/compare/v7.3.9...v7.3.10) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v7.3.9...v7.3.10)
bug symfony/symfony#62826 [Security] Fix persisting valid origin for both safe and non-safe requests (@llegaz)
Changelog (https://github.com/symfony/security-csrf/compare/v7.3.8...v7.3.9)
Changelog (https://github.com/symfony/security-csrf/compare/v7.3.0-RC1...v7.3.0) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v7.3.0-RC1...v7.3.0)
Changelog (https://github.com/symfony/security-csrf/compare/v7.3.0-BETA2...v7.3.0-RC1) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v7.3.0-BETA2...v7.3.0-RC1)
Changelog (https://github.com/symfony/security-csrf/compare/v7.2.6...v7.3.0-BETA1) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v7.2.6...v7.3.0-BETA1)
bug symfony/symfony#59146 [Security] Use the session only if it is started when using SameOriginCsrfTokenManager (Thibault G)
Changelog (https://github.com/symfony/security-csrf/compare/v7.2.2...v7.2.3)
SameOriginCsrfTokenManager (Thibault G)bug symfony/symfony#59269 [Security/Csrf] Trust "Referer" at the same level as "Origin" (@nicolas-grekas)
Changelog (https://github.com/symfony/security-csrf/compare/v7.2.1...v7.2.2)
Changelog (https://github.com/symfony/security-csrf/compare/v7.2.0-RC1...v7.2.0) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v7.2.0-RC1...v7.2.0)
Nothing published for this version
feature symfony/symfony#58095 [Security] Implement stateless headers/cookies-based CSRF protection (@nicolas-grekas)
Changelog (https://github.com/symfony/security-csrf/compare/v7.1.6...v7.2.0-BETA1)
Changelog (https://github.com/symfony/security-csrf/compare/v7.1.5...v7.1.6) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v7.1.5...v7.1.6)
Changelog (https://github.com/symfony/security-csrf/compare/v7.1.0...v7.1.1) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v7.1.0...v7.1.1)
Changelog (https://github.com/symfony/security-csrf/compare/v7.1.0-RC1...v7.1.0) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v7.1.0-RC1...v7.1.0)
Changelog (https://github.com/symfony/security-csrf/compare/v7.1.0-BETA1...v7.1.0-RC1) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v7.1.0-BETA1...v7.1.0-RC1)
Changelog (https://github.com/symfony/security-csrf/compare/v7.0.7...v7.1.0-BETA1) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v7.0.7...v7.1.0-BETA1)
Changelog (https://github.com/symfony/security-csrf/compare/v7.0.7...v7.0.8) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v7.0.7...v7.0.8)
Changelog (https://github.com/symfony/security-csrf/compare/v7.0.6...v7.0.7) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v7.0.6...v7.0.7)
Changelog (https://github.com/symfony/security-csrf/compare/v7.0.2...v7.0.3) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v7.0.2...v7.0.3)
Changelog (https://github.com/symfony/security-csrf/compare/v7.0.0...v7.0.1) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v7.0.0...v7.0.1)
Changelog (https://github.com/symfony/security-csrf/compare/v7.0.0-RC2...v7.0.0) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v7.0.0-RC2...v7.0.0)
Changelog (https://github.com/symfony/security-csrf/compare/v7.0.0-BETA3...v7.0.0-RC1) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v7.0.0-BETA3...v7.0.0-RC1)
feature symfony/symfony#50852 [Components] Convert to native return types (@wouterj)
Changelog (https://github.com/symfony/security-csrf/compare/v6.3.6...v7.0.0-BETA1)
bug symfony/symfony#62796 [Security] do not use PHPUnit mock objects without configured expectations (@xabbuh)
Changelog (https://github.com/symfony/security-csrf/compare/v6.4.30...v6.4.31)
Changelog (https://github.com/symfony/security-csrf/compare/v6.4.23...v6.4.24) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v6.4.23...v6.4.24)
Changelog (https://github.com/symfony/security-csrf/compare/v6.4.12...v6.4.13) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v6.4.12...v6.4.13)
Changelog (https://github.com/symfony/security-csrf/compare/v6.4.7...v6.4.8) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v6.4.7...v6.4.8)
Changelog (https://github.com/symfony/security-csrf/compare/v6.4.6...v6.4.7) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v6.4.6...v6.4.7)
Changelog (https://github.com/symfony/security-csrf/compare/v6.4.2...v6.4.3) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v6.4.2...v6.4.3)
Changelog (https://github.com/symfony/security-csrf/compare/v6.4.0-RC2...v6.4.0) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v6.4.0-RC2...v6.4.0)
Changelog (https://github.com/symfony/security-csrf/compare/v6.4.0-BETA3...v6.4.0-RC1) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v6.4.0-BETA3...v6.4.0-RC1)
Changelog (https://github.com/symfony/security-csrf/compare/v6.3.6...v6.4.0-BETA1) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v6.3.6...v6.4.0-BETA1)
Changelog (https://github.com/symfony/security-csrf/compare/v6.3.11...v6.3.12) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v6.3.11...v6.3.12)
Changelog (https://github.com/symfony/security-csrf/compare/v6.3.1...v6.3.2) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v6.3.1...v6.3.2)
Changelog (https://github.com/symfony/security-csrf/compare/v6.3.0-RC2...v6.3.0) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v6.3.0-RC2...v6.3.0)
feature symfony/symfony#49293 [DoctrineBridge] Allow to ignore specific nullable fields in UniqueEntity (@VincentLanglet)
Changelog (https://github.com/symfony/security-csrf/compare/v6.3.0-BETA3...v6.3.0-RC1)
isRetryable decision of the retry strategy for re-delivery (@FlyingDR)feature symfony/symfony#49642 [DependencyInjection] Deprecate #[MapDecorated] in favor of #[AutowireDecorated] (@nicolas-grekas)
Changelog (https://github.com/symfony/security-csrf/compare/v6.2.10...v6.3.0-BETA1)
TriggerInterface extend \Stringable (@kbond)AppVariable (@SVillette)placeholder_attr option (@elementaire)exclude option to the Cascade constraint (@alexandre-daubois)#[MapDecorated] in favor of #[AutowireDecorated] (@nicolas-grekas)ErrorHandler on boot (@HypeMC)NoSuspiciousCharacters constraint to validate a string is not suspicious (@MatTheCat)TransportNamesStamp (@alexandre-daubois)enum expression function (@alexandre-daubois)notifier.logger_notification_listener to notifier.notification_logger_listener (@ker0x)extra attribute for HttpClient Configuration (@voodooism)#[WithLogLevel] for setting custom log level for exceptions (@angelov)TaggedIteratorArgument (@chalasr)env and param parameters for Autowire attribute (@alexndlm)Changelog (https://github.com/symfony/security-csrf/compare/v6.2.12...v6.2.13) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v6.2.12...v6.2.13)
Changelog (https://github.com/symfony/security-csrf/compare/v6.2.6...v6.2.7) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v6.2.6...v6.2.7)
Changelog (https://github.com/symfony/security-csrf/compare/v6.2.4...v6.2.5) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v6.2.4...v6.2.5)
Changelog (https://github.com/symfony/security-csrf/compare/v6.2.0-RC2...v6.2.0) * no significant changes
Changelog (https://github.com/symfony/security-csrf/compare/v6.2.0-RC2...v6.2.0)
bug #48274 Add more #[\SensitiveParameter] (fancyweb)
Changelog (https://github.com/symfony/security-csrf/compare/v6.2.0-BETA3...v6.2.0-RC1)
feature #46183 Hide sensitive information with SensitiveParameter attribute (GromNaN)
Changelog (https://github.com/symfony/security-csrf/compare/v6.1.6...v6.2.0-BETA1)
SensitiveParameter attribute (GromNaN)One column per quarter.