The product, when processing trusted data, accepts any untrusted data that is also included with the trusted data, treating the untrusted data as if it were trusted.
View on MITREAn attacker could package untrusted data with trusted data to bypass protection mechanisms to gain access to and possibly modify sensitive data.
No mitigation information available for this CWE.
No detection method information available for this CWE.
Does not verify that trusted entity is authoritative for all entities in its response.
View DetailsCWE-349: Acceptance of Extraneous Untrusted Data With Trusted Data is a Common Weakness Enumeration (CWE) entry maintained by MITRE. The product, when processing trusted data, accepts any untrusted data that is also included with the trusted data, treating the untrusted data as if it were trusted.
If exploited, CWE-349 (Acceptance of Extraneous Untrusted Data With Trusted Data) it can compromise Access Control and Integrity, leading to outcomes such as Bypass Protection Mechanism and Modify Application Data.
CWE-349 commonly affects Not Language-Specific. Note that weaknesses are often language-agnostic patterns, so secure coding practices apply broadly.
MITRE documents real CVEs mapped to CWE-349, including CVE-2002-0018 and CVE-2006-5462. You can look up the full details of each CVE, including CVSS scores and remediation guidance, on our CVE Lookup tool.
A CWE (Common Weakness Enumeration) like CWE-349 describes a category of software weakness — the underlying flaw type. A CVE (Common Vulnerabilities and Exposures) identifies a specific, real-world vulnerability in a particular product. In short, a CWE is the kind of mistake, and a CVE is an instance of that mistake being found in software.