Common Weakness Enumeration

    CWE Definition / CWE-838

    CWE-838: Inappropriate Encoding for Output Context

    The product uses or specifies an encoding when generating output to a downstream component, but the specified encoding is not the same as the encoding that is expected by the downstream component.

    Published:24 Mar 2011
    Organization:MITRE
    Modified:11 Dec 2025

    Related Weakness

    CWE-116: Improper Encoding or Escaping of Output

    CWE-116: Improper Encoding or Escaping of Output