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

Closed
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.
clawbot self-assigned this 2026-03-05 11:49:55 +01:00
sneak closed this issue 2026-03-05 12:32:58 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/webhooker#39