Skip to content

[VULN-26] Missing Standard Security Headers #41

Description

@lyncmi07

Severity: Medium
Affected area: HTTP response headers (global)

Issue:
Common security headers are absent (X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy, HSTS), reducing defense-in-depth.

Mitigation plan:

  1. Add a centralized security-header middleware/helper.
  2. Set X-Content-Type-Options: nosniff, X-Frame-Options: DENY, strict Referrer-Policy, minimal Permissions-Policy.
  3. Enable HSTS in HTTPS production environments.

Verification / tests:

  • Header tests on key routes to assert all expected security headers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions