Skip to content

Add rate limiting to the invite endpoint #413

@VaibhavAcharya

Description

@VaibhavAcharya

The /invite endpoint (protected by requireAdminCredentials) has no rate limiting. Compare with /token which has a tollbooth limiter. The invite endpoint also lacks the maxFrequency check that other email-sending endpoints have (like /recover). A compromised admin token could be used to send bulk invite emails.

Moved from CI 53

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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