CVE-2019-12400 Apache Santuario XML Security for Java
| Affected software | Apache Santuario XML Security for Java |
|---|---|
| Severity | 5.5 Medium CVSS 3.1 2 scores |
| Fixed in | 2.1.4 |
| Weakness | Improper input validation (CWE-20) |
| Published | 23 Aug 2019 |
| Updated | 13 Nov 2026 |
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.
Exploitation status
No public exploit
No exploit has been reported in the sources we check. Published 7 years ago.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment no assessment published
- Indexed PoC none indexed
- EPSS 0.78% chance in 30 days
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full XXE
- Action available security rule
- Review human Researcher
- Record active
| Decided by | A researcher's recorded decision for this specific CVE |
|---|---|
| Finding | A researcher set this CVE's status to Protected by Waratek. |
Waratek research note
written 2026-11-13Written by a Waratek engineer who reviewed this CVE. Their decision sets the status above, ahead of every automated rule except a withdrawal.
Comments
Rule example
app("XXE SECURITY POLICY"):
requires(version: ARMR/2.8)
marshal("XXE:PROTECT"):
xxe()
protect(message: "An XXE attack has been blocked", severity: high)
endmarshal
endapp
How to mitigate CVE-2019-12400
Upgrade Apache Santuario XML Security for Java to 2.1.4 or later. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.
CVSS
5.5 MEDIUM
v3.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
2 metrics
CVSS
5.5 MEDIUM v3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
NVD | Primary | published |
| CVSS 2.0 | 1.9 | none | AV:L/AC:M/Au:N/C:N/I:P/A:N |
NVD | Primary |
Affected software and releases
Oracle advisories
| Advisory | Type | Quarter | Products Oracle names in its risk matrix |
|---|---|---|---|
| Oracle Critical Patch Update October 2021 ↗ | CPU | 2021-Q4 | Oracle Fusion Middleware / Web Services (Apache Santuario XML Security For Java) (12.2.1.4.0, 14.1.1.0.0) |
Oracle components and versions
| Family | Component | Versions, as Oracle lists them | Read as |
|---|---|---|---|
| Oracle Fusion Middleware | Web Services (Apache Santuario XML Security For Java) | 12.2.1.4.0, 14.1.1.0.0 | 12.2.1.4.0 · 14.1.1.0.0 |
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.apache.santuario:xmlsec |
2.0.3 | 2.1.4 |
unbounded |
Products and versions
4 products, 6 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | apache | santuario xml security for java | generic | ≥ 2.0.3 and ≤ 2.0.10 · ≥ 2.1.0 and < 2.1.4 |
| nvd | oracle | weblogic server | generic | 12.2.1.4.0 · 14.1.1.0.0 |
| osv | org.apache.santuario | xmlsec | generic | ≥ 2.0.3 and < 2.1.4 |
| nvd | redhat | jboss enterprise application platform | generic | 7.2 |
Earlier manual review
A reviewer classified this CVE in an older dataset. We kept the labels and products below, but not the reviewer's reasoning.
## Manual Classification Context **Labels:** WEB SERVICES (APACHE SANTUARIO XML SECURITY FOR JAVA) **Products:** ORACLE WEBLOGIC SERVER, ORACLE FUSION MIDDLEWARE
References
Timeline
Timeline
| Published | 2019-08-23 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |
| Classification created | 2026-11-13 | First commit adding this CVE's research note. |
| Last VRT activity | 2026-11-13 | Most recent commit touching this CVE's classification, patch or rule file. |