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.

15 published CVE records name this weakness. Abstraction: Base. Status: Incomplete. CWE-838 at MITRE

CVETitleCVSSEPSSPublished
CVE-2026-119281 MariaDB Connector/J: Server could switch character_set_results away from UTF-8 without the client noticing 5.9 medium 0.47% 29 Oct 2026
CVE-2026-114650 Plaintext exposure of encrypted fields via ANSI code-page corruption of database name 6.9 medium 0.11% 22 Oct 2026
CVE-2026-84463 Zammad: Stored HTML injection in Knowledge Base video widget enables forced session switching via unescaped iframe attribute 6.3 medium 0.21% 25 Sep 2026
CVE-2026-55859 MariaDB Connector/R2DBC: Inappropriate Encoding for Output Context and Improper Encoding or Escaping of Output in org.mariadb:r2dbc-mariadb 5.9 medium 0.49% 28 Aug 2026
CVE-2026-55858 MariaDB Connector/J: Inappropriate Encoding for Output Context in org.mariadb.jdbc:mariadb-java-client 5.9 medium 0.87% 28 Aug 2026
CVE-2026-47079 Round-trip Corruption via Improper Entity Escaping in xml_builder 2.1 low 0.19% 21 Aug 2026
CVE-2026-53641 FOSSBilling has stored XSS in client email views via unescaped content in JavaScript template literal 4.8 medium 0.44% 6 Jul 2026
CVE-2025-4052 Google Chrome: Inappropriate Encoding for Output Context 9.8 critical 0.53% 5 May 2025
CVE-2024-11702 Mozilla Firefox: Inappropriate Encoding for Output Context 7.5 high 0.72% 26 Nov 2024
CVE-2024-34006 moodle: unsanitized HTML in site log for config_log_created 4.3 medium 0.59% 31 May 2024
CVE-2023-5770 HTML injection in email body through email subject 5.3 medium 0.52% 9 Jan 2024
CVE-2023-6512 Google Chrome: Inappropriate Encoding for Output Context 6.5 medium 1.16% 6 Dec 2023
CVE-2023-3735 Google Chrome: Inappropriate Encoding for Output Context 4.3 medium 0.57% 1 Aug 2023
CVE-2020-7292 Web Gateway (MWG) - Inappropriate Encoding for output context 4.3 medium 0.86% 15 Jul 2020
CVE-2019-6110 In OpenSSH 7.9, due to accepting and displaying arbitrary stderr output from the server, a malicious server (or Man-in-The-Middle… 6.8 medium 23.9% 31 Jan 2019