1. CVE archive
  2. Vulnerability types
  3. CWE-112
CWE-112 · #484 most frequent type in the archive

Missing XML Validation

The product accepts XML from an untrusted source but does not validate the XML against the proper schema.

Part of: CWE-1286 · Improper Validation of Syntactic Correctness of Input

6CVEs of this type in the archive
0critical (CVSS ≥ 9)
3high severity (7–8.9)
Jan 26, 2026latest published

What it is

The product accepts XML from an untrusted source but does not validate the XML against the proper schema.

Impact on systems

ScopeImpact
Integrity Unexpected State, Varies by Context
By accepting an XML document without validating it against a DTD or XML schema, the programmer leaves a door open for attackers to provide unexpected, unreasonable, or malicious input.

How to prevent it

Architecture and Design · Input Validation Always validate XML input against a known XML Schema or DTD. It is not possible for an XML parser to validate all aspects of a document's content because a parser cannot understand the complete semantics of the data. However, a parser can do a complete and thorough job of checking the document's structure and therefore guarantee to the code that processes the document that the content is well-formed.

Source: MITRE CWE catalog · Official entry on the MITRE website

CWE-112 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20212
20222
20231
20261

All CWE-112 CVEs

6 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.