Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-174 (对同一数据的双重编码) — Vulnerability Class 7

7 vulnerabilities classified as CWE-174 (对同一数据的双重编码). AI Chinese analysis included.

This page aggregates vulnerability data specifically for the weakness type CWE-174, known as Improper Neutralization of Special Elements in Output Data for HTML Contexts, which corresponds to Cross-Site Scripting (XSS). The collection encompasses a comprehensive range of security advisories and technical reports detailing this specific flaw across numerous software vendors and products, covering incidents reported from the inception of the Common Vulnerabilities and Exposures database through the most recent disclosures. Visitors can utilize this resource to track how specific vendors address this class of injection flaws over time, gain a deeper understanding of the technical characteristics and mitigation strategies associated with improper output encoding, or review the complete historical vulnerability record for a particular product to assess its long-term security posture. By centralizing these disparate reports, the page facilitates efficient analysis of trends in XSS exploitation and helps security professionals identify patterns in how different software ecosystems handle output sanitization failures without requiring manual searches across multiple external databases.

MITRE CWE Description
The product decodes the same input twice, which can limit the effectiveness of any protection mechanism that occurs in between the decoding operations.
Common Consequences (1)
Access Control, Confidentiality, Availability, Integrity, Other Bypass Protection Mechanism, Execute Unauthorized Code or Commands, Varies by Context
Mitigations (4)
Architecture and Design Avoid making decisions based on names of resources (e.g. files) if those resources can have alternate names.
Implementation Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range…
Implementation Use and specify an output encoding that can be handled by the downstream component that is reading the output. Common encodings include ISO-8859-1, UTF-7, and UTF-8. When an encoding is not specified, a downstream component may choose a different encoding, either by assuming a default encoding or automatically inferring which encoding is being used, which can be erroneous. When the encodings are i…
Implementation Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.

Vulnerabilities classified as CWE-174 (对同一数据的双重编码) represent 7 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.