wathne / dat250-2024-assignment

MIT License
0 stars 0 forks source link

Cookie without SameSite Attribute #6

Closed LisaCabot closed 2 weeks ago

LisaCabot commented 1 month ago

Description: Allows other websites to add cookies to our page. Potential Impact: This can be used to launch a Cross-Site Request Forgery. The Impact would depend on what the CSRF is designed to do. Affected part of the application: Backend Type of vulnerability: Sensitive Cookie with Improper SameSite Attribute (https://cwe.mitre.org/data/definitions/1275.html)

wathne commented 1 month ago

https://flask.palletsprojects.com/en/3.0.x/web-security/#set-cookie-options

wathne commented 2 weeks ago

Fixed by wathne https://github.com/wathne/dat250-2024-assignment/commit/4985010b157832111ea48a1d69dac71340c78827