CVE-2019-12400

MEDIUM

Apache Santuario XML Security for Java <2.0.3 - Info Disclosure

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2019-12400. PoCs published by dawetmaster, andikahilmy.

AI-analyzed exploit summary This repository contains the vulnerable source code of Apache Santuario Java, specifically the components affected by CVE-2019-12400, an XML signature wrapping vulnerability. It includes the original Java classes and a plotting script for performance analysis, but no functional exploit code.

Description

In version 2.0.3 Apache Santuario XML Security for Java, a caching mechanism was introduced to speed up creating new XML documents using a static pool of DocumentBuilders. However, if some untrusted code can register a malicious implementation with the thread context class loader first, then this implementation might be cached and re-used by Apache Santuario - XML Security for Java, leading to potential security flaws when validating signed documents, etc. The vulnerability affects Apache Santuario - XML Security for Java 2.0.x releases from 2.0.3 and all 2.1.x releases before 2.1.4.

Exploits (2)

nomisec WRITEUP
by dawetmaster · poc
https://github.com/dawetmaster/CVE-2019-12400-santuario-java-vulnerable

This repository contains the vulnerable source code of Apache Santuario Java, specifically the components affected by CVE-2019-12400, an XML signature wrapping vulnerability. It includes the original Java classes and a plotting script for performance analysis, but no functional exploit code.

Classification
Writeup 90%
Attack Type
Other
Complexity
Moderate
Reliability
Theoretical
Target: Apache Santuario Java (XML Security for Java)
No auth needed
Prerequisites: Vulnerable version of Apache Santuario Java
devstral-2 · analyzed Mar 14, 2026 Full analysis →
nomisec WORKING POC
by andikahilmy · poc
https://github.com/andikahilmy/CVE-2019-12400-santuario-java-vulnerable

This repository contains a vulnerable version of Apache Santuario Java, specifically targeting CVE-2019-12400, which involves XML signature wrapping attacks. The provided code includes modified Java classes that demonstrate the vulnerability in the XML digital signature processing.

Classification
Working Poc 90%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Apache Santuario Java (XML Security for Java)
No auth needed
Prerequisites: Access to an application using vulnerable Apache Santuario Java for XML signature processing
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (14)

Core 14
Core References
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2020:0806
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2020:0811
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2020:0804
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2020:0805
Patch, Third Party Advisory x_refsource_misc
https://www.oracle.com/security-alerts/cpuoct2021.html
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20190910-0003/

Scores

CVSS v3 5.5
EPSS 0.0058
EPSS Percentile 69.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Details

CWE
CWE-20
Status published
Products (5)
apache/santuario_xml_security_for_java 2.0.3 - 2.0.10
oracle/weblogic_server 12.2.1.4.0
oracle/weblogic_server 14.1.1.0.0
org.apache.santuario/xmlsec 2.0.3 - 2.1.4Maven
redhat/jboss_enterprise_application_platform 7.2
Published Aug 23, 2019
Tracked Since Feb 18, 2026