apache / security-vulnogram

Vulnogram is a tool for creating and editing CVE information in CVE JSON format
https://vulnogram.github.io/
MIT License
5 stars 4 forks source link

Add `sameSite` option for cookie #132

Closed raboof closed 6 months ago

raboof commented 7 months ago

This helps protect against potential XSS attacks. It seems to work OK for me locally, but it is possible that it breaks the OAuth login - this is tricky to test because I don't have HTTPS enabled when testing locally.

To test on the deployed test environment after merging and before moving to prod. If this doesn't work 'lax' might be a second-best setting.