CWE-838: Inappropriate Encoding for Output Context, published in 2024
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
- 7.5CVE-2024-11702mozillaEPSS 0.7%
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-34006moodleEPSS 0.6%
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-5770proofpoint enterprise protectionEPSS 0.5%
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 …