Skip to content

[security] M-9: /headers endpoint info disclosure without auth #55

Description

@jacobyoby

Severity: Medium
File: users/views.py:1121

Problem

The /headers endpoint discloses request headers and server information without authentication.

Remediation

Add @login_required decorator or remove the endpoint in production.

Source

Finding from security audit (2026-08-31). See .github/SECURITY_AUDIT_TRIAGE.md.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions