Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-117 (日志输出的转义处理不恰当) — Vulnerability Class 114

114 vulnerabilities classified as CWE-117 (日志输出的转义处理不恰当). AI Chinese analysis included.

CWE-117 represents an input validation weakness where applications fail to properly sanitize external data before writing it to log files. This vulnerability allows attackers to inject malicious log entries, often by manipulating fields like usernames or URLs that are directly incorporated into log messages. Exploitation typically involves injecting newline characters or log-specific formatting codes to forge entries, which can obscure legitimate activity, create false alerts, or facilitate log injection attacks that lead to cross-site scripting or server-side request forgery. To prevent this, developers must implement strict output encoding and validation routines specifically for logging contexts. By treating all external input as untrusted and applying context-aware neutralization techniques, such as escaping special characters or using structured logging frameworks, engineers ensure that log data remains safe and interpretable, thereby maintaining the integrity and reliability of system audit trails.

MITRE CWE Description
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.
Common Consequences (1)
Integrity, Confidentiality, Availability, Non-Repudiation Modify Application Data, Hide Activities, Execute Unauthorized Code or Commands
Interpretation of the log files may be hindered or misdirected if an attacker can supply data to the application that is subsequently logged verbatim. In the most benign case, an attacker may be able to insert false entries into the log file by providing the application with input that includes appr…
Mitigations (3)
Implementation Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range…
Implementation Use and specify an output encoding that can be handled by the downstream component that is reading the output. Common encodings include ISO-8859-1, UTF-7, and UTF-8. When an encoding is not specified, a downstream component may choose a different encoding, either by assuming a default encoding or automatically inferring which encoding is being used, which can be erroneous. When the encodings are i…
Implementation Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.
Examples (1)
The following web application code attempts to read an integer value from a request object. If the parseInt call fails, then the input is logged with an error message indicating what happened.
String val = request.getParameter("val"); try { int value = Integer.parseInt(val); } catch (NumberFormatException) { log.info("Failed to parse val = " + val); } ...
Bad · Java
CVE ID Title CVSS Severity Published
CVE-2026-118994 CallBackery versions before 0.62.0 for Perl allow log injection via newlines in the login name - - 2026-10-30
CVE-2026-119423 OPNsense core before 26.7.8 Lockout IP Planting via WebGUI Login Username — core 5.3 Medium 2026-10-30
CVE-2026-15661 IBM Concert Software Improper Output Neutralization for Logs — Concert 5.3 Medium 2026-10-19
CVE-2026-63442 OPNsense: Log Forgery via Login Username CRLF in WebGUI Authentication → Pf Table IP Blocking — core 8.1 High 2026-10-15
CVE-2026-109786 fail2ban 1.1.1前sshd过滤逻辑绕过致IP伪造 — fail2ban 5.3 Medium 2026-10-13
CVE-2026-76267 Log Injection through the REST API in Splunk App for Splunk O11y Cloud — Splunk Enterprise 4.3 Medium 2026-10-07
CVE-2026-85290 InvoicePlane: Log Injection via Unsanitized User Input in Cron Key Error Logging — InvoicePlane 5.3 Medium 2026-09-25
CVE-2026-93421 Mesop: Unauthenticated ANSI Escape Sequence Injection in CSP Reporting Endpoint — mesop 5.3 Medium 2026-09-23
CVE-2026-6327 Multiple Vulnerabilities in IBM Concert Software — Concert 4.3 Medium 2026-09-23
CVE-2026-11538 IBM WebSphere Application Server prior to 9.0.5.29 and 8.5.5.31 are affected by multiple vulnerabilities — WebSphere Application Server 3.7 Low 2026-09-18
CVE-2026-86522 Log injection via an unescaped password reset identity in AshAuthentication — ash_authentication 6.3 Medium 2026-09-17
CVE-2026-84501 Apache ZooKeeper: Operational log forgery via newline injection in EnsembleAuthenticationProvider — Apache ZooKeeper - - 2026-09-16
CVE-2026-84439 Apache ZooKeeper: Audit log injection via unsanitized output from multiple sources — Apache ZooKeeper - - 2026-09-16
CVE-2026-16188 IBM WebSphere Application Server prior to 9.0.5.29 and 8.5.5.31 are affected by multiple vulnerabilities — WebSphere Application Server 5.3 Medium 2026-09-14
CVE-2026-16189 IBM WebSphere Application Server prior to 9.0.5.29 and 8.5.5.31 are affected by multiple vulnerabilities — WebSphere Application Server 4.8 Medium 2026-09-14
CVE-2026-87859 morgan vulnerable to Log Injection via unescaped double quote in quoted log fields — morgan 5.3 Medium 2026-09-11
CVE-2026-14350 Vulnerabilities exists in IBM Cloud Pak for Data System — Cloud Pak for Data System 5.3 Medium 2026-09-04
CVE-2026-9736 Vulnerabilities exists in IBM Netezza Software — Netezza Software 5.3 Medium 2026-09-03
CVE-2026-15603 morgan vulnerable to Log Forging via unescaped Unicode line separators — morgan 5.3 Medium 2026-08-28
CVE-2026-81696 openssl_encrypt before 1.4.9 Terminal Injection via info Command — openssl_encrypt 3.3 Low 2026-08-27
CVE-2026-81695 openssl_encrypt before 1.4.9 Terminal Injection via key_id — openssl_encrypt 3.3 Low 2026-08-27
CVE-2026-81694 openssl-encrypt before 1.4.9 Output Injection via Unsanitized Filenames in verify-usb Command — openssl_encrypt 3.3 Low 2026-08-27
CVE-2026-44256 Wazuh: CRLF Log Injection via Unsanitized Basic-Auth Username — wazuh 5.3 Medium 2026-08-19
CVE-2026-74885 openssl_encrypt before 1.4.0 Logging Bug and Race Condition — openssl_encrypt 3.6 Low 2026-08-17
CVE-2026-17481 IBM Documentation Offline is vulnerable to information disclosure, session forgery and remote code execution — Documentation Offline 8.8 High 2026-08-13
CVE-2026-18148 IBM i is Affected By Multiple Vulnerabilities in Navigator for i — i 4.3 Medium 2026-08-12
CVE-2026-48083 OpenReception: Unauthenticated POST /api/log accepts arbitrary content with CRLF injection and no size or rate limits — appointment-booking-software 6.5 Medium 2026-08-06
CVE-2026-12616 Eclipse Project Identity Authority 输出处理不当漏洞 — Eclipse CSI - PIA - - 2026-06-29
CVE-2026-10745 upKeeper Instant Privilege Access 输出处理不当漏洞 — upKeeper Instant Privilege Access - - 2026-06-24
CVE-2026-20260 Log Injection through HTTP Request Paths in Splunk SOAR — Splunk SOAR 4.3 Medium 2026-06-10

Vulnerabilities classified as CWE-117 (日志输出的转义处理不恰当) represent 114 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.