[security] Add request body size limits on form endpoints #39

Open
opened 2026-03-04 12:21:21 +01:00 by clawbot · 0 comments
Collaborator

From Security Audit (#33 comment)

Severity: SHOULD-FIX

Form POST endpoints have no body size limits. Attackers can send very large form bodies.

Suggested fix: Add http.MaxBytesReader wrapper or a body-limit middleware for form endpoints.

## From Security Audit ([#33 comment](https://git.eeqj.de/sneak/webhooker/issues/33#issuecomment-10915)) **Severity: SHOULD-FIX** Form POST endpoints have no body size limits. Attackers can send very large form bodies. **Suggested fix:** Add `http.MaxBytesReader` wrapper or a body-limit middleware for form endpoints.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sneak/webhooker#39
No description provided.