Skip to content

[VULN-27] Git Status Endpoint Information Disclosure #42

Description

@lyncmi07

Severity: Low
Affected location: routes/git_websites.ts:89-96

Issue:
GET /api/websites/:domain/git/status is unauthenticated and returns git metadata, potentially exposing repository URLs and sensitive context.

Mitigation plan:

  1. Require authentication and website ownership checks.
  2. Redact sensitive fields in response.
  3. Return minimal status fields needed by UI.

Verification / tests:

  • Tests that unauthenticated requests are rejected.
  • Tests that non-owners cannot view status.
  • Tests that sensitive URL/credential fields are not returned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions