Error messages leak internal implementation details #172

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

Severity: LOW

Location

Various controllers and services

Description

Some error responses include exception messages that could reveal internal implementation details (e.g., ImportController returns 'Bundle-Import fehlgeschlagen: ' . $e->getMessage()). While the handleAction trait method uses generic "Internal server error" messages, some controllers still have manual catch blocks that expose details.

Recommendation

Ensure all 500 responses use generic messages; log details server-side only.

## Severity: LOW ## Location Various controllers and services ## Description Some error responses include exception messages that could reveal internal implementation details (e.g., `ImportController` returns `'Bundle-Import fehlgeschlagen: ' . $e->getMessage()`). While the `handleAction` trait method uses generic "Internal server error" messages, some controllers still have manual catch blocks that expose details. ## Recommendation Ensure all 500 responses use generic messages; log details server-side only.
shahondin1624 added the backendsecuritypriority:low labels 2026-04-10 16:04:14 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shahondin1624/Mitgliederverwaltung#172