Common Weakness Enumeration

    CWE Definition / CWE-117

    CWE-117: Improper Output Neutralization for Logs

    The product constructs a log message from external input, but it does not neutralize or incorrectly neutralizes special elements when the message is written to a log file.

    Published:19 Jul 2006
    Organization:MITRE
    Modified:11 Dec 2025

    Related Weakness

    CWE-116: Improper Encoding or Escaping of Output

    CWE-20: Improper Input Validation