-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestsecurityIndicates that the issue or pull request relates to the security of the application.Indicates that the issue or pull request relates to the security of the application.
Description
Issue Summary
Our Flask application currently does not set the Strict-Transport-Security (HSTS) header, which results in a security warning. The absence of this header means that browsers do not have instructions to enforce HTTPS-only communication with our server, potentially exposing users to protocol downgrade attacks and cookie hijacking.
HTTP/1.1 200 OK
Server: gunicorn
Date: Tue, 12 Nov 2024 14:17:10 GMT
Connection: close
Content-Type: text/html; charset=utf-8
Content-Length: 9357
X-Frame-Options: SAMEORIGIN
Content-Security-Policy: frame-ancestors 'self'
X-Content-Type-Options: nosniff
Objective
Implement the Strict-Transport-Security header in our Flask application to enforce HTTPS-only communication and address the security warning.
Metadata
Metadata
Labels
enhancementNew feature or requestNew feature or requestsecurityIndicates that the issue or pull request relates to the security of the application.Indicates that the issue or pull request relates to the security of the application.