cve.bz

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

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. 6.5CVE-2023-6512EPSS 1.2%

    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)

  2. 4.3CVE-2023-3735google chromeEPSS 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)