CWE-838: Inappropriate Encoding for Output Context
Filter
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.
What the weakness is: CWE-838 at MITRE. All weaknesses
Related attack patterns (CAPEC): 1
- CAPEC-468 Generic Cross-Browser Cross-Domain Theft Severity: Medium
The attack patterns MITRE's CAPEC relates to CWE-838, as MITRE names them. Credits.
Ask an AI about CWE-838
Show the prompt
Explain CWE-838: Inappropriate Encoding for Output Context and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/838.html and https://cve.bz/cve/cwe/838?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.
- 5.9CVE-2026-119281EPSS 0.3%
MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases. From 3.0.0 until 3.3.7, 3.4.5, and 3.5.11, the connector assumed result bytes were UTF-8 but guarded only changes to character_set_client…
- 6.9CVE-2026-114650EPSS 0.1%
A flaw in the client-side encryption support of the MongoDB .NET/C# driver can cause data designated for client-side field-level encryption to be written without encryption. Under certain platform text-encoding configurations, an internal …
- 6.3CVE-2026-84463EPSS 0.1%
Zammad is a web based open source helpdesk/customer support system. Prior to 7.1.2, a user with Knowledge Base editing rights for a category can embed a video widget in a published answer with a specially crafted value. When the answer is …
- 5.9CVE-2026-55859EPSS 0.5%
MariaDB Connector/R2DBC is a non-blocking MariaDB and MySQL client implemented in Java. Prior to 1.4.1, org.mariadb:r2dbc-mariadb encodes and decodes all character data under the assumption that the connection character set is UTF-8. A ser…
- 5.9CVE-2026-55858EPSS 0.9%
MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases. Prior to 2.7.14, 3.3.5, 3.4.3, and 3.5.9, the connector encodes and decodes protocol text and performs client-side escaping under the ass…
- 2.1CVE-2026-47079EPSS 0.2%
Inappropriate Encoding for Output Context vulnerability in joshnuss xml_builder (XmlBuilder module) allows Content Spoofing, Cross-site Scripting. This vulnerability is associated with program files lib/xml_builder.ex and program routines…
- 4.8CVE-2026-53641EPSS 0.4%
FOSSBilling is a free, open-source billing and client management system. Versions 0.6.0 through 0.7.2 have a stored cross-site scripting (XSS) vulnerability in the client-facing email history views of FOSSBilling. Email HTML content (`cont…
- 9.8CVE-2025-4052EPSS 0.6%
Inappropriate implementation in DevTools in Google Chrome prior to 136.0.7103.59 allowed a remote attacker who convinced a user to engage in specific UI gestures to bypass discretionary access control via a crafted HTML page. (Chromium sec…
- 7.5CVE-2024-11702EPSS 0.5%
Copying sensitive information from Private Browsing tabs on Android, such as passwords, may have inadvertently stored data in the cloud-based clipboard history if enabled. This vulnerability affects Firefox < 133 and Thunderbird < 133.
- 4.3CVE-2024-34006EPSS 0.4%
The site log report required additional encoding of event descriptions to ensure any HTML in the content is displayed in plaintext instead of being rendered.
- 5.4CVE-2023-5770EPSS 0.3%
Proofpoint Enterprise Protection contains a vulnerability in the email delivery agent that allows an unauthenticated attacker to inject improperly encoded HTML into the email body of a message through the email subject. The vulnerability …
- 6.5CVE-2023-6512EPSS 1.3%
Inappropriate implementation in Web Browser UI in Google Chrome prior to 120.0.6099.62 allowed a remote attacker to potentially spoof the contents of an iframe dialog context menu via a crafted HTML page. (Chromium security severity: Low)
- 4.3CVE-2023-3735EPSS 0.6%
Inappropriate implementation in Web API Permission Prompts in Google Chrome prior to 115.0.5790.98 allowed a remote attacker to obfuscate security UI via a crafted HTML page. (Chromium security severity: Medium)
- 4.1CVE-2020-29135EPSS 0.6%
cPanel before 90.0.17 has multiple instances of URL parameter injection (SEC-567).
- 4.3CVE-2020-7292EPSS 0.9%
Inappropriate Encoding for output context vulnerability in McAfee Web Gateway (MWG) prior to 9.2.1 allows a remote attacker to cause MWG to return an ambiguous redirect response via getting a user to click on a malicious URL.
- 8.1CVE-2020-10996EPSS 1.5%
An issue was discovered in Percona XtraDB Cluster before 5.7.28-31.41.2. A bundled script inadvertently sets a static transition_key for SST processes in place of the random key expected.
- 9.8CVE-2019-18981EPSS 1.4%
Pimcore before 6.2.2 lacks an Access Denied outcome for a certain scenario of an incorrect recipient ID of a notification.
- 6.8CVE-2019-6110ExploitEPSS 25%
In OpenSSH 7.9, due to accepting and displaying arbitrary stderr output from the server, a malicious server (or Man-in-The-Middle attacker) can manipulate the client output, for example to use ANSI control codes to hide additional files be…
- 7.8CVE-2018-9862EPSS 0.4%
util.c in runV 1.0.0 for Docker mishandles a numeric username, which allows attackers to obtain root access by leveraging the presence of an initial numeric value on an /etc/passwd line, and then issuing a "docker exec" command with that v…