CWE-112: Missing XML Validation

BaseDraft

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

View on MITRE
Back to CWE Lookup

Extended Description

Most successful attacks begin with a violation of the programmer's assumptions. 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.

Technical Details

Structure
Simple

Applicable To

Languages
Not Language-Specific
Platforms

Learn More