CWE-838: Inappropriate Encoding for Output Context, published in 2025
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.
By year: all 2026 2025 2024 2023 2022 2021
- 9.8CVE-2025-4052google chromeEPSS 0.5%
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…