SameSite Cookies
This plugin adds the “SameSite” cookie flag to WordPress’s authentication cookies. On supported browsers (all current IE, Edge, Chrome, and Firefox), this can effectively prevent all Cross-Site Request Forgery attacks…
Envisager une alternative
SameSite Cookies shows warning signs in 2026 — compare the alternatives below before installing. It runs on 700+ sites, is rated 2.5/5 and was last updated 3 years ago, and scores 29/100 on our health check.
- Petite base d'utilisateurs (plus de 700 installations actives)
- Mixed reviews — 2.5/5 from 11 ratings
- Pas de mise à jour dans 3 ans
- Uniquement testé jusqu'à WordPress 6,3 (le dernier est de 7,1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where SameSite Cookies stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| cookies | >100 |
| csrf | #98 |
| samesite | #11 |
| la sécurité | >100 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★★★★★★ 2.5 from 11 reviews
About SameSite Cookies
À partir du Lisez-moi officiel · v2.1Description
This plugin adds the “SameSite” cookie flag to WordPress’s authentication cookies. On supported browsers (all current IE, Edge, Chrome, and Firefox), this can effectively prevent all Cross-Site Request Forgery attacks throughout your WordPress site.
SameSite cookie flag support was added to PHP on version 7.3, but this plugin ships with a workaround to support all PHP versions WordPress supports.
There is no administrative UI provided: Activate this plugin, and you are all set!
You can configure the SameSite flag value from your WordPress configuration file. You cna pick a value from Lax (default), Strict, or None. You can read about SameSite cookies here.
To configure the SameSite flag value, edit your WordPress configuration file (wp-config.php), and add the following lines right above /** Sets up WordPress vars and included files. */.
define( 'WP_SAMESITE_COOKIE', 'Lax' ); // Pick from 'Lax', 'Strict', or 'None'.
Note that only the authentication cookies are affected. Regular cookies that your installed plugins set will not be affected, nor provide any meaningful value with SameSite flags.
Installation
- Install this plugin as you would with any other plugin.
- Enable it.
- There is no third step – From this point afterward, authentication cookies your WordPress site uses will contain SameSite flag, and you will be protected from CSRF attacks.
If you find this plugin useful, I’d appreciate you leaving a review on the plugin page.
Journal de modifications
1.5
- Fixes a cookie expiration issue that was reported multiple times in the issue queue. Thanks to Jamie Magin (@jamagin at GitHub).
2.0
- Requires PHP 7.0+
- Requires WordPress 6.2+
- Synced pluggable code from upstream for better compatibility with hooks.
2.1
- Minor readme.txt updates
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best SameSite Cookies alternatives
All cookies plugins →FAQ
SameSite Cookies: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is SameSite Cookies free?
Yes. SameSite Cookies is free to download and use from the official WordPress.org plugin directory.
Is SameSite Cookies safe to use in 2026?
SameSite Cookies shows warning signs in 2026 — compare the alternatives below before installing. It runs on 700+ sites, is rated 2.5/5 and was last updated 3 years ago, and scores 29/100 on our health check.
How many websites use SameSite Cookies?
SameSite Cookies is active on 700+ WordPress websites and has been downloaded 25,532 times since it launched in May 2019. It was downloaded 363 times in the last 30 days.
Does SameSite Cookies work with WordPress 7.1?
SameSite Cookies is officially tested up to WordPress 6.3.15, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does SameSite Cookies need?
SameSite Cookies requires PHP 7.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was SameSite Cookies last updated?
The latest version, 2.1, was released on July 23, 2023 (3 years ago).
Who makes SameSite Cookies?
SameSite Cookies is developed and maintained by Ayesh Karunaratne.
What are the best alternatives to SameSite Cookies?
The most popular alternatives to SameSite Cookies are Cookie Compliance for WordP… (800K+ installs), WP Consent API (300K+ installs) and Adapta RGPD (40K+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit

