- Reference
- HI-OP-2026-T3PA-05
- Severity
- High
- CVSS
- Not applicable, the severity is about the risk for the people the data belongs to.
- Where
- app/Exceptions/Handler.php, line 27
- Who can do this
- Every form that runs into an error
- Retest
- Fixed
National ID numbers and passwords end up in the log files
On an error the whole form is logged, including the ID number and the password. The logs are never cleaned up and also go to an error tracking service outside the EU.
Evidence
// app/Exceptions/Handler.php, line 27
Log::error($e->getMessage(), [
'input' => request()->all(),
]);
Impact
Sensitive personal data is kept without limit and shared with a party outside the EU. That conflicts with data minimisation and with the retention period in your privacy statement.
Fix
app/Exceptions/Handler.php