Persistent cookies pose a security risk as they are vulnerable to attacks due to their long-term storage of user data.