cve.bz

CWE-117: Improper Output Neutralization for Logs, published in 2022

Filter

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.

What the weakness is: CWE-117 at MITRE. OWASP Top 10: A09:2025 Logging & Alerting Failures. All weaknesses

Related attack patterns (CAPEC): 3
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-93 Log Injection-Tampering-Forging Likelihood: High · Severity: High
  • CAPEC-268 Audit Log Manipulation

The attack patterns MITRE's CAPEC relates to CWE-117, as MITRE names them. Credits.

Ask an AI about CWE-117

Show the promptExplain CWE-117: Improper Output Neutralization for Logs and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/117.html and https://cve.bz/cve/cwe/117?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 5.3CVE-2022-1522cognex 3d-a1000 dimensioning system firmwareEPSS 0.6%

    The Cognex 3D-A1000 Dimensioning System in firmware version 1.0.3 (3354) and prior is vulnerable to CWE-117: Improper Output Neutralization for Logs, which allows an attacker to create false logs that show the password as having been chang…

  2. 5.3CVE-2022-32549apacheEPSS 2.5%

    Apache Sling Commons Log <= 5.4.0 and Apache Sling API <= 2.25.0 are vulnerable to log injection. The ability to forge logs may allow an attacker to cover tracks by injecting fake logs and potentially corrupt log files.

  3. 4.3CVE-2021-23266craftercms crafter cmsEPSS 0.6%

    An anonymous user can craft a URL with text that ends up in the log viewer as is. The text can then include textual messages to mislead the administrator.

  4. 8.1CVE-2022-22151yokogawaEPSS 0.8%

    CAMS for HIS Log Server contained in the following Yokogawa Electric products fails to properly neutralize log outputs: CENTUM CS 3000 versions from R3.08.10 to R3.09.00, CENTUM VP versions from R4.01.00 to R4.03.00, from R5.01.00 to R5.04…