CMS Security
PrestaShop Session Cookie Security Check
PrestaShop session cookies must be protected by Secure and HttpOnly flags to avoid session theft and XSS attacks. Check their configuration and enhance security.
What this test checks
This test checks whether PrestaShop session cookies are protected by the Secure (transmitted only over HTTPS) and HttpOnly (inaccessible via JavaScript) flags. Without these flags, cookies can be intercepted by attackers, especially via XSS attacks, allowing session and admin account theft.
Our recommendation
Enable Secure (HTTPS only) and HttpOnly flags for session cookies in PrestaShop configuration (parameters.php file). Ensure your site is on HTTPS and that HTTP‑to‑HTTPS redirection is active. Test the configuration using browser developer tools.
Security tests