Skip to content

Missing Receiver Verification on Message Send #141

Description

Severity: Low/Medium Description: In the sendMessage controller, the backend does not verify if the receiverId actually exists in the users collection before creating the message. Impact: An attacker can forge requests to send messages to random or non-existent ObjectIDs. These messages will be saved in the database permanently as orphaned documents, wasting database storage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions