Skip to main content
Mallory
MediumVulnerability

CVE-2019-12400: Apache Santuario XML Security DocumentBuilder Cache Class Loader Injection

Published Aug 23, 2019 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.5Medium · v3.1
EPSS0.78%56th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendors
Red HatOracle CorporationApache Software Foundation
IdentifiersCVE-2019-12400CWE-20 · Improper Input Validation

Apache Santuario XML Security for Java contains an unsafe DocumentBuilder caching mechanism introduced in version 2.0.3. The library uses a static pool of DocumentBuilder instances to improve XML-document creation performance. If untrusted code registers a malicious XML parser implementation through the thread context class loader before this pool is initialized, Santuario can cache that implementation and reuse it in later XML-security operations, including signed XML document validation. The issue affects Apache Santuario XML Security for Java 2.0.x from 2.0.3 onward and 2.1.x versions before 2.1.4.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

An attacker able to poison the cached DocumentBuilder implementation can cause subsequent XML parsing and signature-validation operations to use attacker-controlled parsing behavior. This can undermine integrity guarantees associated with signed XML validation and lead to security-sensitive validation flaws. The available assessment identifies high integrity impact; confidentiality loss and service-availability impact are not established.

Mitigation

If you can’t patch tonight, do this now.

Do not execute untrusted code in the same JVM or class-loader environment as Santuario XML Security operations. Restrict control of the thread context class loader and XML parser-provider registration to trusted application components. Where untrusted extensions are unavoidable, isolate them in separate processes or appropriately constrained class-loader boundaries and ensure Santuario initialization occurs only in a trusted runtime context. These measures reduce exposure but do not replace upgrading.

Remediation

Patch, then assume compromise.

Upgrade Apache Santuario XML Security for Java to version 2.1.4 or a vendor-supported package containing the fix. For affected Red Hat platforms, apply the applicable vendor security update, including the updates delivered for JBoss Enterprise Application Platform, Red Hat Single Sign-On, OpenShift Application Runtimes, or Red Hat Fuse. Restart affected Java application-server processes after updating where required.

Public exploits

Exploits

No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.

View more in app →
Every candidate exploit was rejected by Mallory's analysis.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Apache Software FoundationSantuario Xml Security For Javaapplication
Oracle CorporationOracle Weblogic Serverapplication
Red HatJboss Enterprise Application Platformapplication
FAQ

Frequently asked questions

Is CVE-2019-12400 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2019-12400 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2019-12400?
As of Oct 16, 2026, Mallory has found no public exploit for CVE-2019-12400.
Is there a patch for CVE-2019-12400?
Upgrade Apache Santuario XML Security for Java to version 2.1.4 or a vendor-supported package containing the fix. For affected Red Hat platforms, apply the applicable vendor security update, including the updates delivered for JBoss Enterprise Application Platform, Red Hat Single Sign-On, OpenShift Application Runtimes, or Red Hat Fuse.
What products are affected by CVE-2019-12400?
Apache Software Foundation Santuario Xml Security For Java, Red Hat Jboss Enterprise Application Platform, and Oracle Corporation Oracle Weblogic Server.
How severe is CVE-2019-12400?
CVE-2019-12400 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.78% (56th percentile) as of Oct 16, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.