cve.bz

CWE-838: Inappropriate Encoding for Output Context, published in 2026

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 promptExplain 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.

By year: all 2026 2025 2024 2023 2022 2021

  1. 5.9CVE-2026-119281mariadb-corporation mariadb-connector-jEPSS 0.5%

    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…

  2. 6.9CVE-2026-114650mongodbEPSS 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 …

  3. 6.3CVE-2026-84463zammadEPSS 0.2%

    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 …

  4. 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. 5.9CVE-2026-55858mariadb-corporation mariadb-connector-jEPSS 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…

  6. 2.1CVE-2026-47079joshnuss xml builderEPSS 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…

  7. 4.8CVE-2026-53641fossbillingEPSS 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…