Skip to content
OpenAdvisories

Weakness (CWE)

CWE-112: Missing XML Validation

Base Draft

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

How to prevent it (1 mitigation)
  1. Architecture and Design

    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-112

4 results · Clear filters · Feed

  • High 8.1
    CVE-2025-68493 Public exploit EPSS 50%

    Apache Struts, Apache Struts: XXE vulnerability in outdated XWork component

    Missing XML Validation vulnerability in Apache Struts, Apache Struts. This issue affects Apache Struts: from 2.0.0 before 2.2.1; Apache Struts: from 2.2.1 through 6.1.0. Users are recommended to upgrade to version 6.1.1, which fixes the issue.

  • Unscored —
    CVE-2022-28213 Public exploit EPSS 12%

    When a user access SOAP Web services in SAP BusinessObjects Business Intelligence Platform - version 420, 430, it does …

  • Medium —
    CVE-2013-2160 Public exploit EPSS 32%

    Missing XML Validation in Apache CXF

    The streaming XML parser in Apache CXF 2.5.x before 2.5.10, 2.6.x before 2.6.7, and 2.7.x before 2.7.4 allows remote attackers to cause a denial of service (CPU and memory consumption) via crafted XML with a large number of (1) elements, (2) attributes, (3) n…

  • High —
    CVE-2013-4002 Public exploit EPSS 25%

    Missing XML Validation in Apache Xerces2

    XMLscanner.java in Apache Xerces2 Java Parser before 2.12.0, as used in the Java Runtime Environment (JRE) in IBM Java 5.0 before 5.0 SR16-FP3, 6 before 6 SR14, 6.0.1 before 6.0.1 SR6, and 7 before 7 SR5 as well as Oracle Java SE 7u40 and earlier, Java SE 6u6…