Remediation Steps
Follow the steps below to remediate this finding on Joomla.
In your Joomla configuration.php, set:
public $cookie_domain = '';
For Joomla 4+, edit libraries/src/Application/WebApplication.php or use the session configuration in Global Configuration > System > Session to set the SameSite attribute.
In .htaccess, also apply the Apache header edit rule as a fallback:
Header always edit Set-Cookie (.*) "$1; SameSite=Lax"