CSRF protection disabled on export endpoints with side effects #171

Closed
opened 2026-04-10 16:04:10 +02:00 by shahondin1624 · 0 comments
Owner

Severity: LOW

Location

All controllers using #[NoCSRFRequired] on GET endpoints

Description

#[NoCSRFRequired] is appropriately used on GET (read-only) endpoints. However, some export/download endpoints that trigger actions or side effects also have this attribute (e.g., DSGVO export, report PDF downloads). This is standard Nextcloud practice for download endpoints but worth noting.

Recommendation

Verify that all #[NoCSRFRequired] endpoints are truly side-effect-free or require explicit user action.

## Severity: LOW ## Location All controllers using `#[NoCSRFRequired]` on GET endpoints ## Description `#[NoCSRFRequired]` is appropriately used on GET (read-only) endpoints. However, some export/download endpoints that trigger actions or side effects also have this attribute (e.g., DSGVO export, report PDF downloads). This is standard Nextcloud practice for download endpoints but worth noting. ## Recommendation Verify that all `#[NoCSRFRequired]` endpoints are truly side-effect-free or require explicit user action.
shahondin1624 added the backendsecuritypriority:low labels 2026-04-10 16:04:10 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shahondin1624/Mitgliederverwaltung#171