WordPress plugin intelligence profile

SameSite Cookies

CSRF-protection for authentication cookies. When enabled, this plugin makes sure the "SameSite" flag is set in authentication cookies.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.3
Current version2.1
WordPress coverageTested up to WordPress 6.3
Minimum stackWP 6.2 · PHP 7.0
Directory statusactive
Last directory update23 Jul 20233y ago
Active installations700Adoption metric — not a quality score
WordPress.org rating2.5 / 5 from 11 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records SameSite Cookies version 2.1 as active, updated 3y ago and tested up to WordPress 6.3.

Overview

About this plugin

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.

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.

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.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • cookies
  • csrf
  • samesite
  • security
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.3

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.3.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.3
Minimum requirementsWordPress 6.2 · PHP 7.0
Update activity23 Jul 20233y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.