Log Injection High

Untrusted input is written to application logs without proper neutralization. Attackers can inject special characters like newline or carriage return to alter the structure of logs, insert fake entries, or hide malicious activity. This can mislead log analysis, hinder incident response, or even trigger other security issues if logs are used elsewhere. Sanitizing inputs before logging prevents this vulnerability.

Detector ID
scala/log-injection@v1.0
Category
Common Weakness Enumeration (CWE) external icon
Tags
-